0.0.1 version of orangepi-pc SimpleLinux
This commit is contained in:
Regular → Executable
+6
-12
@@ -1,14 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
#---------- Cleaning build and out directory ---------
|
||||
clean() {
|
||||
printf "$UGREEN** Cleaning build and out directories\n$RESET"
|
||||
rm -rv $root/.log/* &>> $fulllogfile
|
||||
mkdir -p $root/.log
|
||||
rm -rv $out &>> $fulllogfile
|
||||
mkdir -p $out
|
||||
rm -rv $build &>> $fulllogfile
|
||||
mkdir -p $build
|
||||
printf "$UGREEN** SUCCESS: Cleaning build and out directories\n$RESET"
|
||||
} # clean
|
||||
#-----------------------------------------------------
|
||||
if [ -d out ]; then
|
||||
rm -rv out;
|
||||
fi
|
||||
if [ -d build ]; then
|
||||
rm -rv build
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user