Hi Claude,

On Thu, 13 Sep 2012 11:18:33 -0400 Claude Marinier <[email protected]> wrote:

> Here is the result of building 4.8.0rc3 on the Solaris/SPARC system.
>
> Solaris 10, SPARC
> gcc (GCC) 3.4.6
> /bin/sh is the Bourne shell
> /bin/bash is the Bourne again shell
>
>     ...
>     ./identify.sh: test: argument expected
>     make[1]: *** [identify-me] Error 1
>     make[1]: Leaving directory `/home/marinier/temp/chicken-4.8.0rc3'
>     make: *** [all] Error 2

Can you try the attached patch?

Best wishes.
Mario
-- 
http://parenteses.org/mario
diff --git a/identify.sh b/identify.sh
old mode 100644
new mode 100755
index bf8d69d..0d41da3
--- 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
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to