Fix building the CWD variable
commit1746afc51fabfb70dfdb010040effe9fcb779801
authorSebastian Schuberth <sschuberth@gmail.com>
Fri, 29 Apr 2011 14:59:09 +0000 (29 16:59 +0200)
committerSebastian Schuberth <sschuberth@gmail.com>
Sat, 21 May 2011 13:07:27 +0000 (21 15:07 +0200)
tree802c07be7778844f91256a85b7659c222d4fb1c2
parent6f073bf2a7cc760231451e4510f25f007c8d5d6d
Fix building the CWD variable

CWD must not end in a slash because git cannot handle duplicate slashes in
expressions like

git --git-dir=$CWD/doc/git/html/.git

and CWD must not be empty, else tar will fail.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
share/WinGit/copy-files.sh
share/WinGit/portable-release.sh