summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-12 19:53:11 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-12 19:53:11 -0400
commita5097c68226ab198b854f54f3200c9eb0901c9f3 (patch)
tree94513e2054a985616205d5c152aba1a7a4e184d5 /src
parent232e6395c3b77043bb499542b8cffe66833d49bc (diff)
librefetch: Fix the check for deciding if to recurse.v20170512
Diffstat (limited to 'src')
-rwxr-xr-xsrc/librefetch/librefetch2
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