Skip to content

Commit bd78805

Browse files
author
Nep Nep
authored
Fix setup script (#199)
1 parent c36f668 commit bd78805

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

setupWorkspace.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
#
77
# Usage: "./setupWorkspace.sh"
88

9-
__dir="$(cd "$(dirname "$0")" && pwd)"
10-
119
#
1210

13-
echo "[$(date +"%H:%M:%S")] Found script in dir '$__dir', trying to cd into Lambda folder"
14-
cd "$__dir" || exit $?
15-
cd ../ || exit $?
16-
17-
#
11+
# To allow use from outside the lambda directory
12+
cd "$(dirname "$0")"
1813

1914
echo "[$(date +"%H:%M:%S")] Checking if git is installed..."
2015
if [ -z "$(which git)" ]; then

0 commit comments

Comments
 (0)