And also fix variable propagation when ckmake -t is used.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
KLIBS=""
LOG="ckmake.log"
TIME="0"
+QUIET=""
+ARGS=""
+
RET=""
LSB_RED_ID=$(/usr/bin/lsb_release -i -s)
echo -e "a target 'linux' on your Makefile you can run 'cmake linux'"
}
-ARGS=""
-QUIET=""
-
for i in $@ ; do
case $1 in
"-h")
TIME="1"
shift
;;
- "-q")
+ "-s")
QUIET="-s"
shift
;;
exit $RET
fi
-time $0
-time $0 | egrep "real|user|sys"
+time $0 $QUIET $ARGS
+time $0 $QUIET $ARGS | egrep "real|user|sys"
exit $RET