aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kasak <dkasak@termina.org.uk>2017-07-14 18:47:19 +0200
committerDenis Kasak <dkasak@termina.org.uk>2017-07-14 22:57:50 +0200
commitf0bd11bfa73d02a1f46a7933ca6f6f9a1c6ffd08 (patch)
tree0e22c4ca320f4f3dfd0e32968a31aef7928a9062
parentd7812ea4f93104d013c77e8a6288a3003663d000 (diff)
downloadrofi-pass-f0bd11bfa73d02a1f46a7933ca6f6f9a1c6ffd08.tar.gz
Remove unused variable assignments.
-rwxr-xr-xrofi-pass3
1 files changed, 0 insertions, 3 deletions
diff --git a/rofi-pass b/rofi-pass
index f5b5f5e..29a87a5 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -505,7 +505,6 @@ manageEntry () {
mainMenu
elif [[ $1 == "move" ]]; then
cd "${root}" || exit
- selected_password2=$(basename "$selected_password" .gpg)
group=$(find . -type d -not -iwholename '*.git*' -printf '%d\t%P\n' | sort -r -nk1 | cut -f2- | _rofi -dmenu -p "Choose Group > ")
if [[ $group == "" ]]; then
exit
@@ -514,8 +513,6 @@ manageEntry () {
mainMenu
elif [[ $1 == "copy" ]]; then
cd "${root}" || exit
- selected_password2=$(basename "$selected_password" .gpg)
- original_group=$(dirname "${selected_password}")
group=$(find . -type d -not -iwholename '*.git*' -printf '%d\t%P\n' | sort -r -nk1 | cut -f2- | _rofi -dmenu -p "Choose Group > ")
if [[ $group == "" ]]; then
exit