X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=example_post-receive.sh;h=c9bcb5e61d048a455652c5d197486bfd82b2e1a2;hb=503398bd5f325447f7d801306222e5fc142cacae;hp=065556903ec6734b0f75715309c95acccfb71310;hpb=020673b8fddfc649e391831aee2e5562ac25210c;p=stagit.git diff --git a/example_post-receive.sh b/example_post-receive.sh index 0655569..c9bcb5e 100755 --- a/example_post-receive.sh +++ b/example_post-receive.sh @@ -14,7 +14,7 @@ export LC_CTYPE="en_US.UTF-8" name="$1" if test "${name}" = ""; then - name=$(basename $(pwd)) + name=$(basename "$(pwd)") fi # config