Skip to content

Commit

Permalink
🏗️ Replace realpath with readlink -f
Browse files Browse the repository at this point in the history
realpath doesnt exist on the github runners
  • Loading branch information
pajowu committed Jul 5, 2023
1 parent 5b3e6a1 commit 3acf70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/build_server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
set -eu

cd "$(dirname $(realpath $0))"
cd "$(dirname $(readlink -f $0))"

GIT_ROOT="$(git rev-parse --show-toplevel)"
if [ -z $GIT_ROOT ]; then
Expand Down

0 comments on commit 3acf70b

Please sign in to comment.