aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-08-29 13:48:35 +0000
committercassio <cassiopc@gmail.com>2018-08-29 13:48:35 +0000
commitc0ed83f955cb851f67938719bdcaa809f165b86a (patch)
treec221a53e4f9d47c360386e71dfecd536560000c1
parent2cacdb0bfdf2c66ba095f9f922e3f3f06f4ba753 (diff)
downloadboca-c0ed83f955cb851f67938719bdcaa809f165b86a.tar.gz
boca-c0ed83f955cb851f67938719bdcaa809f165b86a.zip
show date
-rw-r--r--tools/boca-fixes7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/boca-fixes b/tools/boca-fixes
index 277542b..b6d6bb4 100644
--- a/tools/boca-fixes
+++ b/tools/boca-fixes
@@ -30,10 +30,11 @@ if [ -f $tmpfile ]; then
grep -q boca-updates $tmpfile
if [ "$?" == "0" ]; then
chmod 700 $tmpfile
- echo "Running BOCA update"
- . $tmpfile
+ echo "$(date) - running update"
+ /bin/bash $tmpfile
+ [ "$?" == "0" ] && echo "$(date) - running ok"
else
rm $tmpfile
- echo "no BOCA update"
+ echo "$(date) - no update"
fi
fi