Commit 13094c2a authored by Henry Weller's avatar Henry Weller
Browse files

wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR

parent 3de4dcd8
......@@ -61,7 +61,8 @@ do
esac
done
[ -d bin -a -d src ] || usage "not in the project top level directory"
[ "$PWD" = "$WM_PROJECT_DIR" ] \
|| usage "Not in the project top-level directory"
echo "Removing platforms/sub-directories"
......
......@@ -190,7 +190,8 @@ oldFolders)
updateMode)
[ -d bin -a -d src ] || usage "Not in the project top-level directory"
[ "$PWD" = "$WM_PROJECT_DIR" ] \
|| usage "Not in the project top-level directory"
echo "Purging all dep files that relate to files that no longer exist..."
fileNameList=$(find -L src applications -name '*.[CHL]' -type l \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment