This commit is contained in:
shvedes 2024-10-25 21:33:54 +02:00
parent a4ae1bf7fd
commit 087a0085b7

View File

@ -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