From 83727d11cd79db706eb3029194d735031f8ac3c3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 16 Apr 2017 02:17:41 +0300 Subject: [PATCH] Fix publish2web: put the real web directory to locate-all.list `pwd` was ~/tmp there. --- publish2web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish2web b/publish2web index eb7cf0a..9a74848 100755 --- a/publish2web +++ b/publish2web @@ -18,7 +18,6 @@ dest_dir="`basename \"$source_dir\"`".git && git clone --bare --config core.sharedRepository=0644 "$source_dir" "$dest_dir" && cd "$dest_dir" && -pwd >> "`dirname \"$0\"`"/locate-all.list && git gc --aggressive && git repack -a -d -f --depth=20 --window=250 && git fsck --strict && @@ -43,6 +42,7 @@ fi && cd "$HOME"/tmp && mv "$dest_dir" "$HOME"/Internet/WWW/htdocs/git.phdru.name/"$directories" && +echo "$HOME"/Internet/WWW/htdocs/git.phdru.name/"$directories/$dest_dir" >> "`dirname \"$0\"`"/locate-all.list && umask 077 && cd "$source_dir" && -- 2.39.5