predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject incubator-predictionio git commit: [MINOR] update pio script, support soft link
Date Wed, 21 Sep 2016 18:26:35 GMT
Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop 6b2c60adb -> efbc3e3f1


[MINOR] update pio script, support soft link

Closes apache/incubator-predictionio#289


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/efbc3e3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/efbc3e3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/efbc3e3f

Branch: refs/heads/develop
Commit: efbc3e3f1370e64bffd26b4071e30f647f4575e3
Parents: 6b2c60a
Author: Robert LU <robberphex@gmail.com>
Authored: Wed Sep 21 11:25:40 2016 -0700
Committer: Donald Szeto <donald@apache.org>
Committed: Wed Sep 21 11:25:40 2016 -0700

----------------------------------------------------------------------
 bin/pio | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/efbc3e3f/bin/pio
----------------------------------------------------------------------
diff --git a/bin/pio b/bin/pio
index c6b41d5..1f6e0ed 100755
--- a/bin/pio
+++ b/bin/pio
@@ -32,7 +32,7 @@ search() {
   echo ${i}
 }
 
-export PIO_HOME="$(cd `dirname $0`/..; pwd)"
+export PIO_HOME="$(cd $(dirname $(readlink -f $0))/..; pwd)"
 
 export PIO_CONF_DIR="${PIO_HOME}/conf"
 


Mime
View raw message