summaryrefslogtreecommitdiff
path: root/src/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync.sh')
-rwxr-xr-xsrc/sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync.sh b/src/sync.sh
index 265c374..b6cb5b1 100755
--- a/src/sync.sh
+++ b/src/sync.sh
@@ -11,7 +11,7 @@ parse_line() {
local size=$5
local files=$6
- local package_name=$(basename -s ".xipkg" $package)
+ local package_name=$(basename $package ".xipkg")
local package_dir="$PACKAGES_DIR/$repo/$package_name.versions"
local checksum_file=$package_dir/$checksum