diff --git a/packages/git-crypt-rm-gpg-user/git-crypt-rm-gpg-user.sh b/packages/git-crypt-rm-gpg-user/git-crypt-rm-gpg-user.sh index 70aa1cb..57a6d11 100644 --- a/packages/git-crypt-rm-gpg-user/git-crypt-rm-gpg-user.sh +++ b/packages/git-crypt-rm-gpg-user/git-crypt-rm-gpg-user.sh @@ -178,7 +178,7 @@ git stash # stash potential typechange # Remove encrypted files and git-crypt git crypt status -e |sed -E 's/^\s+encrypted: //g' > "${TMPFILE}" if [ -s "${TMPFILE}" ]; then - awk '{print $2}' ${TMPFILE} | xargs rm + <"${TMPFILE}" xargs rm #xargs -I {} -- rm -- {} < "${TMPFILE}" git commit -a -m "Remove encrypted files" fi