mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-24 13:05:55 +00:00
Allow bin/resin to be called from anywhere
This commit is contained in:
parent
f94579da2b
commit
9b657397f3
@ -45,9 +45,4 @@ if [ ! -x $NODE_PATH ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Support calling bin/resin from within bin/
|
||||
if [ `dirname $0` == '.' ]; then
|
||||
$NODE_PATH "../build/app.js" "$@"
|
||||
else
|
||||
$NODE_PATH "./build/app.js" "$@"
|
||||
fi
|
||||
$NODE_PATH "$0/../../build/app.js" "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user