Skip to content

Commit 3b543fb

Browse files
authored
allows start script to run from relative directories (#1978)
1 parent be5d5a7 commit 3b543fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/start-local-dev.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Change to repository root (parent of scripts directory)
2+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
cd "$SCRIPT_DIR/.."
4+
15
# Parse command line arguments
26
FORCE=false
37
while [[ $# -gt 0 ]]; do

0 commit comments

Comments
 (0)