aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ssg4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ssg b/bin/ssg
index 904245b..f8da7c6 100755
--- a/bin/ssg
+++ b/bin/ssg
@@ -21,6 +21,8 @@ for src_file in ${src_files}; do
__handle "${src_file}"
done
+# Copy images
if git rev-parse media; then
- git --work-tree="${out_dir}" checkout "${media_branch}" "${media_dir}"
+ git restore --source=media --worktree "img"
+ mv "img" "out"
fi
remember that computers suck.