diff --git a/scripts/morse_setup.sh b/scripts/morse_setup.sh index 16c4b5c291..1986af2843 100755 --- a/scripts/morse_setup.sh +++ b/scripts/morse_setup.sh @@ -158,7 +158,7 @@ patch_feeds_packages(){ # script has to run from openwrt top -if [[ "$(pwd)" != "$(git rev-parse --show-toplevel)" ]]; then +if [[ "$(readlink -f $(pwd))" != "$(git rev-parse --show-toplevel)" ]]; then usage 1 fi