From 05f462f3884937f3bd50e13480809ae8bc806aaf Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Thu, 13 Jun 2013 17:27:22 -0400 Subject: [PATCH] gen snapshot of current branch --- gen-snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen-snapshot.sh b/gen-snapshot.sh index 0321a0b67..9c7e511c9 100755 --- a/gen-snapshot.sh +++ b/gen-snapshot.sh @@ -6,7 +6,7 @@ VERSION=2.4.0~$(date "+%Y%m%d") BUILDDEST=/tmp/airtime-${VERSION}/ DEBDIR=`pwd`/debian -git checkout 2.4.x +git checkout $(git branch | grep "^*" | cut -d' ' -f 2) git pull echo "cleaning up previous build..."