~ chicken-core (chicken-5) 96c5b48e107a0353902e0eca4ea2eed21d99d97f
commit 96c5b48e107a0353902e0eca4ea2eed21d99d97f
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Oct 4 20:36:20 2012 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Thu Oct 4 20:36:20 2012 +0200
small fix in identify.sh, originally by Mario
Signed-off-by: felix <felix@call-with-current-continuation.org>
diff --git a/identify.sh b/identify.sh
old mode 100644
new mode 100755
index bf8d69d0..0d41da36
--- a/identify.sh
+++ b/identify.sh
@@ -28,13 +28,13 @@ if test -d "$1/.git"; then
"master") branchname="";;
"release") branchname="";;
esac
- if test "${rev0}" \!= "${rev}"; then
+ if test "x${rev0}" \!= "x${rev}"; then
echo ${rev} >buildid
fi
- if test "${branchname0}" \!= "${branchname}"; then
+ if test "x${branchname0}" \!= "x${branchname}"; then
echo ${branchname} >buildbranch
fi
- if test "${tag0}" \!= "${tag}"; then
+ if test "x${tag0}" \!= "x${tag}"; then
echo ${tag} >buildtag.h
fi
fi
Trap