Compare commits
No commits in common. "b20e2154dc5ace0822ffd1a31b129917a53489f8" and "a41f37965e94dd70102fd3e965cc8817e1388b75" have entirely different histories.
b20e2154dc
...
a41f37965e
3 changed files with 6 additions and 25 deletions
|
@ -1,12 +0,0 @@
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
charset = utf-8
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
|
||||||
|
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
||||||
indent_size = 4
|
|
|
@ -20,12 +20,12 @@ erase()
|
||||||
dir="${1}"
|
dir="${1}"
|
||||||
printf "%s " "${dir}"
|
printf "%s " "${dir}"
|
||||||
find "${dir}" \
|
find "${dir}" \
|
||||||
-maxdepth 1 \
|
-maxdepth 1 \
|
||||||
\! -name "." \
|
\! -name "." \
|
||||||
\! -name ".." \
|
\! -name ".." \
|
||||||
\! -name "src" \
|
\! -name "src" \
|
||||||
-exec printf . \; \
|
-exec printf . \; \
|
||||||
-exec rm -rf "{}" \;
|
-exec rm -rf "{}" \;
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,14 +45,11 @@ while true; do
|
||||||
read -r r
|
read -r r
|
||||||
if [ "${r}" = "1" ]; then
|
if [ "${r}" = "1" ]; then
|
||||||
erase "${repodir}"
|
erase "${repodir}"
|
||||||
printok "remove complete"
|
|
||||||
elif [ "${r}" = "2" ]; then
|
elif [ "${r}" = "2" ]; then
|
||||||
erase "${installdir}"
|
erase "${installdir}"
|
||||||
printok "remove complete"
|
|
||||||
elif [ "${r}" = "3" ]; then
|
elif [ "${r}" = "3" ]; then
|
||||||
erase "${repodir}"
|
erase "${repodir}"
|
||||||
erase "${installdir}"
|
erase "${installdir}"
|
||||||
printok "remove complete"
|
|
||||||
elif [ "${r}" = "4" ]; then
|
elif [ "${r}" = "4" ]; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
* vNEXT
|
* vNEXT
|
||||||
|
|
||||||
**** Log when ~sourcezap rm~ completes successfully
|
|
||||||
Similar to other commands, log when the ~sourcezap rm~ command
|
|
||||||
completes successfully
|
|
||||||
|
|
||||||
**** Format log messages with program name
|
**** Format log messages with program name
|
||||||
This change formats log messages written to standard output
|
This change formats log messages written to standard output
|
||||||
and standard error with the pattern ~sourcezap: <message>~
|
and standard error with the pattern ~sourcezap: <message>~
|
||||||
|
|
Loading…
Reference in a new issue