Skip to content

Commit

Permalink
Only use the first argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Aug 18, 2015
1 parent 02de9e1 commit 2f92da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-env.sh
Expand Up @@ -3,7 +3,7 @@
CALLED=$_
[[ $CALLED != $0 ]] && SOURCED=1 || SOURCED=0

SETUP_SRC=$(realpath ${BASH_SOURCE[@]})
SETUP_SRC=$(realpath ${BASH_SOURCE[0]})
SETUP_DIR=$(dirname $SETUP_SRC)
TOP_DIR=$(realpath $SETUP_DIR/..)
BUILD_DIR=$TOP_DIR/build
Expand Down

0 comments on commit 2f92da8

Please sign in to comment.