From ff2cc68d3e1561f4f5644ae24b711433dee1c87a Mon Sep 17 00:00:00 2001 From: Jan Christopher Vogt Date: Mon, 13 Feb 2017 07:21:00 -0500 Subject: Fix date -- invalid option -j --- cbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cbt') diff --git a/cbt b/cbt index 65e405d..3a856ec 100755 --- a/cbt +++ b/cbt @@ -178,7 +178,7 @@ stage1 () { $NG ng-stop >> $nailgun_out 2>> $nailgun_err & #rm $NAILGUN$TARGET/cbt/*.class 2>/dev/null # defensive delete of potentially broken class files echo "Compiling cbt/nailgun_launcher" 1>&2 - COMPILE_TIME=$(date -j +%YY%mm%dd%HH%MM.%SS|sed "s/[YmdHMS]//g") + COMPILE_TIME=$(date +%YY%mm%dd%HH%MM.%SS|sed "s/[YmdHMS]//g") javac -Xlint:deprecation -Xlint:unchecked -d $NAILGUN$TARGET `ls $NAILGUN*.java` compiles=$? if [ $compiles -eq 0 ]; then -- cgit v1.2.3