From cee3ef0d4da97a7660ca3e368288c89d4809c8bb Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 20 May 2011 17:32:38 +0200 Subject: [PATCH] Launch Inno Setup from the directory containing the script This avoids passing the path to the script to ISCC, which is a little awkward when using Wine under Linux. Signed-off-by: Sebastian Schuberth --- share/WinGit/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/WinGit/release.sh b/share/WinGit/release.sh index 58341386..afd4dfdf 100644 --- a/share/WinGit/release.sh +++ b/share/WinGit/release.sh @@ -134,7 +134,7 @@ sed -e "s/%APPVERSION%/$version/" \ < share/WinGit/install.iss > $TMPDIR/install.iss && cp share/WinGit/*.inc.iss $TMPDIR && echo "Launching Inno Setup compiler ..." && -(share/InnoSetup/ISCC.exe "$TMPDIR/install.iss" > /tmp/install.out; +(cd $TMPDIR; $MSYSGITROOT/share/InnoSetup/ISCC.exe install.iss > /tmp/install.out; echo $? > /tmp/install.status) && (test 0 = "$(cat /tmp/install.status)") && git tag -a -m "Git for Windows $1" Git-$1 && -- 2.11.4.GIT