diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-12 19:53:11 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-12 19:53:11 -0400 |
commit | a5097c68226ab198b854f54f3200c9eb0901c9f3 (patch) | |
tree | 94513e2054a985616205d5c152aba1a7a4e184d5 | |
parent | 232e6395c3b77043bb499542b8cffe66833d49bc (diff) |
librefetch: Fix the check for deciding if to recurse.v20170512
-rwxr-xr-x | src/librefetch/librefetch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index 807fe9b..7573678 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -211,7 +211,7 @@ doit() { local suffix=${dst#"$base_dst"} if [[ $base_dst == *.sig ]]; then - if ! [[ -e $base_dst ]]; then + if ! [[ -e ${base_dst%.sig} ]]; then extra_opts=("${src%.sig}" "${base_dst%.sig}") doit || exit fi |