Skip to content
Permalink
d7aaa06a20
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
38 lines (33 sloc) 550 Bytes
#!/bin/bash
set -e
set -x
set -u
. build.profile
declare -a RMRF
RMRF=(
"${BUILD_ffmpeg}"
"${BUILD_jbig2dec}"
"${BUILD_jbig2enc}"
"${BUILD_leptonica}"
"${BUILD_libfontttf}"
"${BUILD_nginx}"
"${BUILD_node}"
"${BUILD_paperless}"
"${BUILD_pngquant}"
"${BUILD_python}"
"${BUILD_redis}"
"${BUILD_sqlite}"
"${BUILD_tesseract}"
"${BUILD_unpaper}"
"${BUILD_zbar}"
./logs
)
function removeall {
set +e
for i in "${RMRF[@]}"; do
echo "[$i]"
[ -n "$i" ] && [ -d "$i" ] && rm -rf "$i"
done
set -e
}
removeall