]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
one more test
authorClyne Sullivan <tullivan99@gmail.com>
Wed, 30 Nov 2016 01:49:47 +0000 (20:49 -0500)
committerClyne Sullivan <tullivan99@gmail.com>
Wed, 30 Nov 2016 01:49:47 +0000 (20:49 -0500)
build.sh [new file with mode: 0755]

diff --git a/build.sh b/build.sh
new file mode 100755 (executable)
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