Skip to content

Commit 7010f51

Browse files
Change bin/dwh-migration-dumper to not use readlink -f as it's not compatiblw with Mac OS.
1 parent 26977dc commit 7010f51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/dwh-migration-dumper

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh -ex
22

3-
BIN=$(dirname $(readlink -f $0))/../dumper/app/build/install/app/bin/dwh-migration-dumper
3+
BASE_DIR=$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>&1 > /dev/null && pwd)
4+
BIN="${BASE_DIR}/../dumper/app/build/install/app/bin/dwh-migration-dumper"
45

56
if [ ! -x "$BIN" ] ; then
67
./gradlew --parallel :dumper:app:installDist

0 commit comments

Comments
 (0)