1 2 3 4 5 6
#!/bin/zsh if [[ -n $ROOT ]]; then cd $ROOT || exit $? fi pax -w -x sv4cpio "$@" | cpio2fs exit $((${(j.|.)pipestatus}))