Add a timestamp on the "nothing to do" message
authorSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 11:43:16 +0000 (11:43 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 11:43:16 +0000 (11:43 +0000)
bin/build-client

index 58c64be..28539b6 100755 (executable)
@@ -99,7 +99,8 @@ while true; do
     BNUM=$(echo $BNUM_PKG_VER_ARCH | cut -d " " -f1)
     PKG_VER_ARCH=$(echo $BNUM_PKG_VER_ARCH | cut -d " " -f2)
     if [ "$PKG_VER_ARCH" = "NOPACKAGE" ]; then
-       echo "Nothing to do, wait..."
+       DATE=$(date)
+       echo "$DATE: Nothing to do, wait..."
        sleep 10
        continue
     fi