Skip to content
Snippets Groups Projects
Commit 608dd321 authored by Henry Weller's avatar Henry Weller
Browse files

wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR

parent 436c3b92
Branches
Tags
1 merge request!33Merge foundation
......@@ -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 \
......
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