#!/bin/sh -x cd /usr/ports doas rm -rf pobj/* plist logs packages bulk update case "$1" in -a) doas rm -rf distfiles/* ;; esac mkdir -p plist logs packages bulk update doas make fix-permissions