Skip to content
Snippets Groups Projects
Commit 6eb0b5bb authored by jdh8d's avatar jdh8d
Browse files

clean-all update to deal with pedi cleanup when clean-all of a sub-module.

Former-commit-id: ef291229
parent f3dbb107
No related branches found
No related tags found
No related merge requests found
......@@ -72,10 +72,15 @@ fi
cd $PEASOUP_UMBRELLA_DIR
# clean up installation
$PEDI_HOME/pedi -c -m manifest.txt
if [ -d "$PS_INSTALL" ]; then
echo "removing $PS_INSTALL"
rm -fr "$PS_INSTALL"
# clean up installation if this module is the root of the install.
# skip pedi cleanup if we are part of a larger project, as future builds
# won't know how to install properly.
if [[ $(head -1 manifest.txt.config) == $(pwd) ]] ; then
$PEDI_HOME/pedi -c -m manifest.txt
if [ -d "$PS_INSTALL" ]; then
echo "removing $PS_INSTALL"
rm -fr "$PS_INSTALL"
fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment