summaryrefslogtreecommitdiffstats
path: root/upgpkg
diff options
context:
space:
mode:
Diffstat (limited to 'upgpkg')
-rwxr-xr-xupgpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgpkg b/upgpkg
index 5a35057..357140d 100755
--- a/upgpkg
+++ b/upgpkg
@@ -107,7 +107,7 @@ if [ -f "upgpkg" ]; then
fi
for i in $gpgsource; do
- sigfile="$(basename "$i")"
+ sigfile="${i##*/}"
if [[ $sigfile != $i ]]; then
wget -nv -O "$sigfile" "$i"
fi