add cleanup script
This commit is contained in:
parent
0db00aaf04
commit
bda4af6f11
1 changed files with 15 additions and 0 deletions
15
clean.sh
Executable file
15
clean.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
here=$(pwd)
|
||||
srcfolder=$here/src
|
||||
|
||||
echo -n "Delete \"$srcfolder\" and \"${ACT_HOME}\"? [y/N] "
|
||||
|
||||
IFS= read -r line
|
||||
|
||||
if [[ "$line" != "y" && "$line" != "Y" ]]; then
|
||||
echo Aborting...
|
||||
exit 0
|
||||
fi
|
||||
|
||||
rm -rf $srcfolder ${ACT_HOME}
|
||||
Loading…
Reference in a new issue