20 lines
297 B
Bash
Executable File
20 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
#remaster lib
|
|
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }
|
|
|
|
#workspace_erase [workspace_path]
|
|
function workspace_erase() {
|
|
echo -n "erase workspace ... "
|
|
|
|
for dir in "$@"; do
|
|
[ -d "$dir" ] && rm -r -f "$dir"
|
|
done
|
|
|
|
echo "done"
|
|
}
|
|
|
|
[ -n "$1" ] && {
|
|
echo param
|
|
$1
|
|
}
|