diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-09-02 20:58:49 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-09-02 20:58:49 +0200 |
commit | d8fd2b4413f51a75d77d558ebabd0dbea55dba96 (patch) | |
tree | b608461ef440b9a90de401b7b4e96a79bb4996f9 /clerk | |
parent | 3e2e6312b1a48100e99f6fc7133a3f5bf0e9ef4e (diff) | |
download | perl-app-clerk-d8fd2b4413f51a75d77d558ebabd0dbea55dba96.tar.gz perl-app-clerk-d8fd2b4413f51a75d77d558ebabd0dbea55dba96.tar.xz |
fix wrong variable
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -993,9 +993,9 @@ TRACK_TEMP=$((echo -e "< Return\n---"; cat $HOME/.config/clerk/latest.cache) \ entry="$TRACK" elif [[ $val -eq 0 ]]; then - if [[ "$TRACK" == "< Return" ]]; then + if [[ "$TRACK_TEMP" == "< Return" ]]; then browserLibPrompt - elif [[ "$TRACK" == "" ]]; then + elif [[ "$TRACK_TEMP" == "" ]]; then addLastMod else mpc clear; @@ -1089,9 +1089,9 @@ TRACK_TEMP=$((echo -e "< Return\n---"; cat $HOME/.config/clerk/albums.cache) \ entry="$TRACK" elif [[ $val -eq 0 ]]; then - if [[ "$TRACK" == "< Return" ]]; then + if [[ "$TRACK_TEMP" == "< Return" ]]; then browserLibPrompt - elif [[ "$TRACK" == "" ]]; then + elif [[ "$TRACK_TEMP" == "" ]]; then AddAlbumTags else mpc clear; @@ -1181,9 +1181,9 @@ TRACK_TEMP=$((echo -e "< Return\n---"; cat $HOME/.config/clerk/tracks.cache) \ entry="$TRACK" elif [[ $val -eq 0 ]]; then - if [[ "$TRACK" == "< Return" ]]; then + if [[ "$TRACK_TEMP" == "< Return" ]]; then browserLibPrompt - elif [[ "$TRACK" == "---" ]]; then + elif [[ "$TRACK_TEMP" == "---" ]]; then AddTrackTags else mpc add "${filename}" |