Unverified Commit d8c9d356 authored by Shawn Webb's avatar Shawn Webb
Browse files

Strip "build-" from temp variable



When we publish builds, the publish directory is named "build-N" whereas
on the build server, the the publish directory is named "N".
Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent c9ea0e7e
......@@ -119,6 +119,7 @@ prune_old_builds() {
for d in $(find ${HBSD_PUBDIR} -maxdepth 1 -type d | sed 1d); do
n=$(basename ${d})
n=${n##*-}
if [ ${n} -lt ${floor} ]; then
rm -rf ${d}
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment