mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-09-08 12:14:59 +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.
|
# 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
|
# 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."
|
echo -e "$ERROR Cannot validade ${YELLOW}\$HOME${RESET} path."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user