Compare commits

..

No commits in common. "76d9e0a3bb88d60cdb8dd639a6761a60e0852c03" and "f7374a63b856ae7f7f5a775fff9084678b1df25b" have entirely different histories.

3 changed files with 14 additions and 33 deletions

View file

@ -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

View file

@ -18,12 +18,12 @@ erase()
dir="${1}"
printf "%s " "${dir}"
find "${dir}" \
-maxdepth 1 \
\! -name "." \
\! -name ".." \
\! -name "ports" \
-exec printf . \; \
-exec rm -rf "{}" \;
-maxdepth 1 \
\! -name "." \
\! -name ".." \
\! -name "ports" \
-exec printf . \; \
-exec rm -rf "{}" \;
echo
}
@ -42,21 +42,18 @@ printf "1-4: "
while true; do
read -r r
if [ "${r}" = "1" ]; then
erase "${repodir}"
printok "remove complete"
erase "${repodir}"
elif [ "${r}" = "2" ]; then
erase "${installdir}"
printok "remove complete"
erase "${installdir}"
elif [ "${r}" = "3" ]; then
erase "${repodir}"
erase "${installdir}"
printok "remove complete"
erase "${repodir}"
erase "${installdir}"
elif [ "${r}" = "4" ]; then
break
break
else
printf "%s is not a valid option\n" "${r}"
printf "1-4: "
continue
printf "%s is not a valid option\n" "${r}"
printf "1-4: "
continue
fi
exit
done

View file

@ -2,10 +2,6 @@
* vNEXT
**** Log when ~portzap rm~ completes successfully
Similar to other commands, log when the ~portzap rm~ command
completes successfully
**** Format log messages with program name
This change formats log messages written to standard output
and standard error with the pattern ~portzap: <message>~