SVN: toys/tools/cleanbuild/cleanbuild
glen
glen at pld-linux.org
Thu Oct 25 19:39:52 CEST 2012
Author: glen
Date: Thu Oct 25 19:39:52 2012
New Revision: 12594
Modified:
toys/tools/cleanbuild/cleanbuild
Log:
fix bashisms
Modified: toys/tools/cleanbuild/cleanbuild
==============================================================================
--- toys/tools/cleanbuild/cleanbuild (original)
+++ toys/tools/cleanbuild/cleanbuild Thu Oct 25 19:39:52 2012
@@ -22,7 +22,7 @@
[ -r .cleanbuildrc ] && . ./.cleanbuildrc
[ -z "$USER" ] && echo "USER not defined" && exit 1
-[ "$USER" == "root" ] && echo "USER must not be root" && exit 1
+[ "$USER" = "root" ] && echo "USER must not be root" && exit 1
export LC_ALL=C
unset LANGUAGE
@@ -405,9 +405,9 @@
local cond="$1"; shift
local func="$1"; shift
- [ $cond == "false" ] && return
+ [ $cond = "false" ] && return
$func "$@"
- [ $cond == "exit_after" ] && exit
+ [ $cond = "exit_after" ] && exit
}
fetch()
More information about the pld-cvs-commit
mailing list