Fix the restore script
[backups/.git] / scripts / Makefile.am
index 852a3c049657bd96fc03ed41cbbebc4b43d55ee2..eea43a0e52552fd5eea29f013085b63364a01b36 100644 (file)
@@ -19,4 +19,4 @@ restore.sh : restore-header.sh $(restore_tar)
        chmod +x $@
 
 $(restore_tar) : $(restore_scripts)
-       tar cf - $^ | gzip > $@
+       ( cd $(top_srcdir)/scripts && tar cf - $(restore_scripts) ) | gzip > $@