summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/password-store.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 789cf2b..d2320fc 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -100,10 +100,7 @@ reencrypt_path() {
for index in "${!GPG_RECIPIENTS[@]}"; do
local group="$(sed -n "s/^cfg:group:${GPG_RECIPIENTS[$index]}:\\(.*\\)$/\\1/p" <<<"$groups" | head -n 1)"
[[ -z $group ]] && continue
- local saved_ifs="$IFS"
- IFS=";"
- GPG_RECIPIENTS+=( $group )
- IFS="$saved_ifs"
+ IFS=";" command eval 'GPG_RECIPIENTS+=( $group )' # Hack to make IFS change temporary, http://unix.stackexchange.com/a/92190
unset GPG_RECIPIENTS[$index]
done
gpg_keys="$($GPG --list-keys --keyid-format long "${GPG_RECIPIENTS[@]}" | sed -n 's/sub *.*\/\([A-F0-9]\{16\}\) .*/\1/p' | sort -u)"
86945303ae981e7f03f6312c1ca9aa69052f885&follow=1'>Remove old python packagesRené 'Necoro' Neumann4-59/+0 2019-07-07Remove old perl packages originally for i3 testingRené 'Necoro' Neumann8-163/+0 2019-06-12[feed2imap] ruby24René 'Necoro' Neumann1-1/+1 2018-12-09Remove xdotoolRené 'Necoro' Neumann1-52/+0 2018-08-04feed2imap: Import old patch from serverRené 'Necoro' Neumann1-2/+2 2018-08-04feed2imap: Presume it works with Ruby:2.3René 'Necoro' Neumann1-1/+1 2018-06-10[i3] Remove old versionsRené 'Necoro' Neumann4-341/+0 2018-06-10Rescued old webkit-gtk-version, needed for PPRené 'Necoro' Neumann16-0/+584 2018-06-10stgit-0.18 with version informationRené 'Necoro' Neumann3-0/+100 2017-09-13[feed2imap] Support Ruby2.2René 'Necoro' Neumann1-1/+1 2016-08-19CleanupRené 'Necoro' Neumann25-703/+0 2016-07-09Add dev-python/pdb-cloneRené 'Necoro' Neumann2-0/+24 2016-07-06Fix r/dependRené 'Necoro' Neumann1-4/+4 2016-07-06Fix r/dependRené 'Necoro' Neumann4-3/+8 2016-07-06Crypt::LERené 'Necoro' Neumann8-0/+97 2016-07-03Python 3.4 support for flask-migrateRené 'Necoro' Neumann2-0/+35 2016-06-26Remove outdated radicaleRené 'Necoro' Neumann5-188/+0 2016-03-25feed2imap: ruby-2.1René 'Necoro' Neumann1-1/+1 2016-03-25i3 with pango but w/o cairoRené 'Necoro' Neumann4-0/+341 2016-02-21Use virtual/udevRené 'Necoro' Neumann1-1/+1 2016-01-09passRené 'Necoro' Neumann2-0/+84