Skip to content
Browse files

link ROOT/xctool.sh -> ROOT/scripts/xctool.sh

  • Loading branch information...
1 parent d5f902e commit 454d0903b210ac76ce031972917d1688013d57f9 @fpotter fpotter committed
Showing with 3 additions and 1 deletion.
  1. +2 −1 scripts/xctool.sh
  2. +1 −0 xctool.sh
View
3 scripts/xctool.sh
@@ -5,7 +5,8 @@
set -e
-XCTOOL_DIR=$(cd $(dirname $0)/..; pwd)
+REALPATH=$([[ -L $0 ]] && echo $(dirname $0)/$(readlink $0) || echo $0)
+XCTOOL_DIR=$(cd $(dirname $REALPATH)/..; pwd)
TEMP_PATH=$(/usr/bin/mktemp -t xctool-build)
trap "rm -f $TEMP_PATH" EXIT
View
1 xctool.sh

0 comments on commit 454d090

Please sign in to comment.
Something went wrong with that request. Please try again.