diff options
author | davidovski <david@davidovski.xyz> | 2022-03-12 22:58:22 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-12 22:58:22 +0000 |
commit | 0c0496130f64b4ebe051172af86c0c332db9d5e9 (patch) | |
tree | e407edf9f03bc820068223fb84b3b28e6f4353ce /src/sync.sh | |
parent | 39e1b942910758aceb83c966ff1bba976261ba0e (diff) |
made changed to make it more posix compliantv1.1.2
Diffstat (limited to 'src/sync.sh')
-rwxr-xr-x | src/sync.sh | 2 |
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 |