Skip to content

Commit e708080

Browse files
committed
Make ~/ in app path work
1 parent 9b6b9d9 commit e708080

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stepup/start-dev-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ while [[ $# -gt 0 ]]; do
153153
exit 1;
154154
fi
155155

156+
# Replace "~/" with the user's home directory
157+
path=${path/#\~/$HOME}
158+
156159
# Test if the specified path(s) exist.
157160
if [ ! -d "${path}" ]; then
158161
echo -e "${RED}The specified path for app '${app}' is not a directory.";

0 commit comments

Comments
 (0)