mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-07-04 10:25:05 +00:00
Fixed #1
This commit is contained in:
parent
a4ae1bf7fd
commit
087a0085b7
@ -269,7 +269,7 @@ verify_path() {
|
||||
|
||||
# Check the validity of the path if the user has specified the absolute path manually. This is necessary in case the user accidentally misspells $HOME paths.
|
||||
# https://github.com/shvedes/photoshop-linux/issues/1
|
||||
if [[ ! "$path" =~ $HOME ]]; then
|
||||
if [[ ! "$path" == "$HOME"* ]]; then
|
||||
echo -e "$ERROR Cannot validade ${YELLOW}\$HOME${RESET} path."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user