#!/bin/sh -Cefux set -Cefux dist=jail.new case "$*" in *active*) dist=jail ;; esac tar -cf- --exclude '.git*' -C /root/files/jail-dist-overlay . \ | tar -vxpf- -C "/root/files/fbsd/release/dist/$dist"