Commits

Quinton Anderson committed 92bb511 Merge

Merged in livware/storm-deb-packaging (pull request #1)

Update to build_storm.sh

Comments (0)

Files changed (1)

 #!/bin/bash
 name=storm
-version=0.8.1
+version=0.8.2
+if [ "$1" == "-h" ]; then
+  echo "Usage:"
+  echo "$0 [-h] | [version]"
+  echo $0  
+  echo
+  echo "version - the storm version. Default=$version" 
+  echo " -h  - prints this message"
+  echo 
+
+  exit
+else
+  if [[ $1 ]] ; then
+    version=$1
+   
+  fi
+fi
+echo "Building storm version:$version"
 url=http://storm-project.net
 buildroot=build
 fakeroot=storm-${version}
 rm -rf ${name}*.deb
 rm -rf ${fakeroot}
 mkdir -p ${fakeroot}
-wget https://github.com/downloads/nathanmarz/storm/storm-${version}.zip
+wget https://dl.dropbox.com/u/133901206/storm-${version}.zip
+#wget https://github.com/downloads/nathanmarz/storm/storm-${version}.zip
 mv storm-${version}.zip ${fakeroot}
 unzip ${fakeroot}/storm-${version}.zip
 mv ${fakeroot}/storm-${version}/* ${fakeroot} &>/dev/null