[mapguide-commits] r9738 - trunk/MgDev

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Sep 19 09:23:51 PDT 2020


Author: jng
Date: 2020-09-19 09:23:51 -0700 (Sat, 19 Sep 2020)
New Revision: 9738

Modified:
   trunk/MgDev/cmake_package.sh
Log:
Use readlink -f instead of realpath for cmake_package.sh

Modified: trunk/MgDev/cmake_package.sh
===================================================================
--- trunk/MgDev/cmake_package.sh	2020-09-19 16:03:50 UTC (rev 9737)
+++ trunk/MgDev/cmake_package.sh	2020-09-19 16:23:51 UTC (rev 9738)
@@ -10,7 +10,7 @@
 LIBDIR=lib64
 PKG_OUTPUT_DIR=
 DPKG_MG_RELPATH="usr/local/mapguideopensource-${MG_VER}"
-THIS_DIR=$(realpath "$(dirname $0)")
+THIS_DIR=$(readlink -f "$(dirname $0)")
 
 while [ $# -gt 0 ]; do    # Until you run out of parameters...
     case "$1" in
@@ -337,4 +337,4 @@
         echo "Unknown or unsupported package format: $PKG_FORMAT"
         exit 1
         ;;
-esac
\ No newline at end of file
+esac



More information about the mapguide-commits mailing list