Skip to content

Commit 825d3a6

Browse files
Ben16Tyler Phelan
andcommitted
Do not use readlink -f
- Does not work on macs Co-authored-by: Tyler Phelan <tphelan@pivotal.io>
1 parent 2b16c03 commit 825d3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/unit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
export ROOT=`dirname $(readlink -f ${BASH_SOURCE%/*})`
4+
export ROOT="$( dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" )"
55
$ROOT/scripts/install_tools.sh
66

77
cd $ROOT/src/binary/

0 commit comments

Comments
 (0)