diff --git a/sh/self.sh b/sh/self.sh index 8d821dc..4d88414 100644 --- a/sh/self.sh +++ b/sh/self.sh @@ -222,10 +222,10 @@ rwx_self_write() { local target="${1}" if [ -n "${target}" ]; then shift - local file text + local file files text text="#! /usr/bin/env sh " - local files="$(rwx_self_subset "${@}")" + files="$(rwx_self_subset "${@}")" while IFS= read -r file; do text="${text} $(cat "${RWX_ROOT_SYSTEM}/${file}")