You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
while [ -h"$SOURCE" ];do# resolve $SOURCE until the file is no longer a symlink
7
+
SCRIPTDIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
8
+
SOURCE="$(readlink "$SOURCE")"
9
+
[[ $SOURCE!= /* ]] && SOURCE="$SCRIPTDIR/$SOURCE"# if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
10
+
done
11
+
SCRIPTDIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
12
+
13
+
# Now simply call the actual `bsb` implementation, forwarding args,
14
+
# but making sure we have the right environment setup.
while [ -h"$SOURCE" ];do# resolve $SOURCE until the file is no longer a symlink
7
+
SCRIPTDIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
8
+
SOURCE="$(readlink "$SOURCE")"
9
+
[[ $SOURCE!= /* ]] && SOURCE="$SCRIPTDIR/$SOURCE"# if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
10
+
done
11
+
SCRIPTDIR="$(cd -P "$( dirname "$SOURCE")"&&pwd)"
12
+
13
+
# Now simply call the actual `ninja` implementation, forwarding args,
14
+
# but making sure we have the right environment setup.
0 commit comments