aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-11-29 20:49:47 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-11-29 20:49:47 -0500
commitba758bc158a1fa203adbcccc387dca2aea59549b (patch)
tree7399f6813d1c5e62d3f04dc4fc021da6a06980ba
parentb35e60dae9dbf5395ce620c3f8d060ac8c2c3d2d (diff)
one more test
-rwxr-xr-xbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..bbda76c
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+idate=$(date +"%s" -r .git/index)
+odate=$(date +"%s" -r ./.updated)
+
+echo $idate
+echo $odate
+
+if (( $idate > $odate )); then
+ echo "frig"
+ touch ./.updated
+fi