aboutsummaryrefslogtreecommitdiff
path: root/version_update.sh
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-08-17 09:45:55 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-08-17 09:45:55 +0000
commit84af4cd4d9df44b51ca4c7999bea4afcb0ea1051 (patch)
tree39da1257935a45df0b6dc9632cac7dc2035658fd /version_update.sh
parenta716404895da793c5bfb88f43d2534cb7def27e5 (diff)
automatic version updates
svn path=/trunk/externals/hardware/wiimote/; revision=13819
Diffstat (limited to 'version_update.sh')
-rw-r--r--version_update.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/version_update.sh b/version_update.sh
new file mode 100644
index 0000000..0425b55
--- /dev/null
+++ b/version_update.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+VERSION=$(cat VERSION)
+
+echo updating to version: $VERSION
+
+sed -e "s|^VERSION=.*$|VERSION=${VERSION}|" -i Makefile
+sed -e "s| VERSION .*;$| VERSION ${VERSION};|" -i wiimote-meta.pd
+
+
+