Commits

Aleš Erjavec  committed afc4dba

Small fixes to OSX application bundle build scripts.

  • Participants
  • Parent commits c12e64d

Comments (0)

Files changed (2)

File install-scripts/mac/bundle-build-hg.sh

 
 echo "Checkouting and building bioinformatics addon"
 echo "============================================="
-./bundle-inject-hg.sh https://bitbucket.org/biolab/orange-bioinformatics bioinformatics $REVISION $REPOS_DIR ${TMP_BUNDLE_DIR}/Orange.app
+./bundle-inject-hg.sh https://bitbucket.org/biolab/orange-bioinformatics bioinformatics tip $REPOS_DIR ${TMP_BUNDLE_DIR}/Orange.app
 
 echo "Checkouting and building text addon"
 echo "==================================="
-./bundle-inject-hg.sh https://bitbucket.org/biolab/orange-text text $REVISION $REPOS_DIR ${TMP_BUNDLE_DIR}/Orange.app
+./bundle-inject-hg.sh https://bitbucket.org/biolab/orange-text text tip $REPOS_DIR ${TMP_BUNDLE_DIR}/Orange.app
 
 echo "Installing networkx"
 echo "+++++++++++++++++++"

File install-scripts/mac/bundle-inject-hg.sh

 	echo "Repository $CLONE_FULLPATH already present".
 fi
 
+cd $CLONE_FULLPATH
+
 echo "Checking for incomming changesets"
-if hg incoming -R $CLONE_FULLPATH; then 
-	echo "Changesets found. Pulling and updating."
-	hg pull --update -R $CLONE_FULLPATH
+if hg incoming; then
+	echo "Changesets found. Pulling."
+	hg pull
 fi
 
-cd $CLONE_FULLPATH
+echo "Updating to ${REVISION}"
+hg update -r ${REVISION}
 
 # Run installation
 echo "Running setup.py install with python '$PYTHON'"
 $PYTHON setup.py install --single-version-externally-managed --record=RECORD.txt
 
-# Clean up the archive
-cd $WORK_DIR
-
 true