about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xcpiobin0 -> 965992 bytes
-rwxr-xr-xssg54
2 files changed, 2 insertions, 2 deletions
diff --git a/cpio b/cpio
new file mode 100755
index 0000000..b77dafc
--- /dev/null
+++ b/cpio
Binary files differdiff --git a/ssg5 b/ssg5
index d011fbd..92c719a 100755
--- a/ssg5
+++ b/ssg5
@@ -50,7 +50,7 @@ main() {
   test -f "$h_file" && HEADER=$(cat "$h_file") && export HEADER
 
   list_dirs "$src" |
-  (cd "$src" && cpio -pdu "$dst")
+  (cd "$src" && ../cpio -pdu "$dst")
 
   fs=$(
   if test -f "$dst/.files"
@@ -79,7 +79,7 @@ main() {
     render_html_files "$src" "$dst" "$title"
 
     echo "$fs" | grep -Ev '\.md$|\.html$' |
-    (cd "$src" && cpio -pu "$dst")
+    (cd "$src" && ../cpio -pu "$dst")
   fi
 
   printf '[ssg] ' >&2