~ chicken-core (chicken-5) ee34cc875415a00e1f365b757baaa81a30e2dd7b
commit ee34cc875415a00e1f365b757baaa81a30e2dd7b Author: Peter Bex <peter.bex@xs4all.nl> AuthorDate: Thu Jun 12 20:18:25 2014 +0200 Commit: Peter Bex <peter.bex@xs4all.nl> CommitDate: Thu Jun 12 20:18:25 2014 +0200 Make /bin/sh scripts in scripts/ directory executable and fix a small portability issue with "csc-trans" reported by Aleksej Saushev diff --git a/scripts/chicken-flymake b/scripts/chicken-flymake old mode 100644 new mode 100755 diff --git a/scripts/csc-trans b/scripts/csc-trans old mode 100644 new mode 100755 index 77ef4f28..bb2298ba --- a/scripts/csc-trans +++ b/scripts/csc-trans @@ -35,7 +35,7 @@ shift $(($OPTIND - 1)) # First argument after options is the file FILE=$1 -if [ "x$FILE" == "x" ]; then +if [ "x$FILE" = "x" ]; then FILE="/dev/stdin" fi @@ -55,7 +55,7 @@ if [ -n "$NOENSCRIPT" ]; then fi # Are we filtering out just the user code? -if [ "x$ALL" == "x1" ]; then +if [ "x$ALL" = "x1" ]; then $CSC $CSC_OPTS $FILE | $PASS2 2>/dev/null | $PASS3 2>/dev/null else $CSC $CSC_OPTS $FILE |\ diff --git a/scripts/test-dist.sh b/scripts/test-dist.sh old mode 100644 new mode 100755Trap