[issm-svn] r23404 - issm/trunk/packagers/macosx

jdquinn at issm.ess.uci.edu jdquinn at issm.ess.uci.edu
Mon Oct 8 20:05:11 PDT 2018


Author: jdquinn
Date: 2018-10-08 20:05:11 -0700 (Mon, 08 Oct 2018)
New Revision: 23404

Modified:
   issm/trunk/packagers/macosx/package.sh
Log:
CHG: Syncing path to gmt in Mac binaries with path to gmt in Windows binaries

Modified: issm/trunk/packagers/macosx/package.sh
===================================================================
--- issm/trunk/packagers/macosx/package.sh	2018-10-09 00:16:31 UTC (rev 23403)
+++ issm/trunk/packagers/macosx/package.sh	2018-10-09 03:05:11 UTC (rev 23404)
@@ -38,7 +38,7 @@
 if [ -f $ISSM_DIR/externalpackages/gmt/install/bin/gmt ]; then
 	mkdir $ISSM_DIR/$PACKAGE/externalpackages
 	mkdir $ISSM_DIR/$PACKAGE/externalpackages/gmt
-	cp -a $ISSM_DIR/externalpackages/gmt/install/. $ISSM_DIR/$PACKAGE/externalpackages/gmt
+	cp -a $ISSM_DIR/externalpackages/gmt/install $ISSM_DIR/$PACKAGE/externalpackages/gmt/install
 else
 	echo "gmt not found"
 fi
@@ -62,9 +62,9 @@
 
 # Create link to gmt from bin
 # NOTE: It is important that we are in the destination dir when sym linking so that the path is relative
-if [ -f $ISSM_DIR/$PACKAGE/externalpackages/gmt/bin/gmt ]; then
+if [ -f $ISSM_DIR/$PACKAGE/externalpackages/gmt/install/bin/gmt ]; then
 	cd $ISSM_DIR/$PACKAGE/bin
-	ln -s ../externalpackages/gmt/bin/gmt ./gmt
+	ln -s ../externalpackages/gmt/install/bin/gmt ./gmt
 fi
 
 cd $ISSM_DIR



More information about the issm-svn mailing list