wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR
This commit is contained in:
parent
436c3b92e4
commit
608dd321d1
2 changed files with 4 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue