Fixing the variable that I'm checking to determine if SNAPSHOT needs to be 
removed from an RC's deb rules file

Signed-off-by: Chip Childers <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/75374f1e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/75374f1e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/75374f1e

Branch: refs/heads/4.1
Commit: 75374f1ede67e9cb44dbf7c7b47d3cc02c11733f
Parents: 43bf3dd
Author: Chip Childers <[email protected]>
Authored: Tue Apr 23 14:57:53 2013 -0400
Committer: Chip Childers <[email protected]>
Committed: Tue Apr 23 14:57:53 2013 -0400

----------------------------------------------------------------------
 tools/build/build_asf.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/75374f1e/tools/build/build_asf.sh
----------------------------------------------------------------------
diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh
index 88f0e94..c768ca8 100755
--- a/tools/build/build_asf.sh
+++ b/tools/build/build_asf.sh
@@ -95,7 +95,7 @@ mv deps/XenServerJava/pom.xml.versionsBackup 
deps/XenServerJava/pom.xml
 perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' 
deps/XenServerJava/pom.xml
 perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' tools/apidoc/pom.xml
 
-case "$version" in 
+case "$currentversion" in 
   *-SNAPSHOT*)
     perl -pi -e 's/-SNAPSHOT//' debian/rules
     ;;

Reply via email to