Replace realpath with readlink
This commit is contained in:
parent
96f015478f
commit
a72b636d16
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
MYDIR="$(dirname "$(realpath "$0")")"
|
||||
MYDIR="$(dirname "$(readlink -f "$0")")"
|
||||
cd "$MYDIR"
|
||||
for dir in ./*; do ([ -d "$dir" ] && cd "$dir" && echo "Building bots/$dir" && go build); done
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
MYDIR="$(dirname "$(realpath "$0")")"
|
||||
MYDIR="$(dirname "$(readlink -f "$0")")"
|
||||
cd "$MYDIR"
|
||||
go build
|
||||
for dir in ./*; do ([ -d "$dir" ] && cd "$dir" && echo "Building jobs/$dir" && go build); done
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
MYDIR="$(dirname "$(realpath "$0")")"
|
||||
MYDIR="$(dirname "$(readlink -f "$0")")"
|
||||
cd "$MYDIR"
|
||||
for dir in ./*; do ([ -d "$dir" ] && cd "$dir" && echo "Building patches/$dir" && go build); done
|
Loading…
Reference in New Issue
Block a user