aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-02-13 07:21:00 -0500
committerGitHub <noreply@github.com>2017-02-13 07:21:00 -0500
commitff2cc68d3e1561f4f5644ae24b711433dee1c87a (patch)
tree9140c85f69b44f9ab0fd4a1aa5d3cc097aba8a7f /cbt
parentea813c2d4d7b44de845d086ef77b4b5d057b786e (diff)
downloadcbt-ff2cc68d3e1561f4f5644ae24b711433dee1c87a.tar.gz
cbt-ff2cc68d3e1561f4f5644ae24b711433dee1c87a.tar.bz2
cbt-ff2cc68d3e1561f4f5644ae24b711433dee1c87a.zip
Fix date -- invalid option -j
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt2
1 files changed, 1 insertions, 1 deletions
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