From 91d8c45b547c52925df24f3b1398bfce5c973726 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 27 Feb 2024 20:33:07 +0300 Subject: [PATCH] packages: fixup script --- packages/git-crypt-rm-gpg-user/git-crypt-rm-gpg-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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