Commit d907810f authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - owpack now cleans up properly

parent 2abf9f44
......@@ -61,7 +61,7 @@ SetupCleanCheckout()
echo "* Checking out fresh source copy."
# Get the source
echo " * Checking out OpenWalnut with revision \"$REVISION\""
echo " * Checking out OpenWalnut with revision \"$REVISION\"."
hg clone -u $REVISION $REPOSITORY $SRC_DIR
[ $? -ne 0 ] && exit 1
......@@ -75,11 +75,14 @@ SetupCleanCheckout()
CleanUp()
{
echo "* Cleaning up."
echo " * Removing directory \"$SRC_DIR\""
echo " * Removing directory \"$SRC_DIR\"."
rm -rf $SRC_DIR
echo " * Removing source archives"
echo " * Removing source archives."
rm -f $SRC_DIR.zip $SRC_DIR.tar.gz
echo " * Removing working directories."
rm -rf ${SRC_DIR}_*
}
#########################################################################################################
......
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