aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-27 15:05:25 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-27 15:10:59 +0100
commitb1353bf7003bdf1b98cdedd4dda6dc6e836fe93e (patch)
treed339d55fe66d5f33a913c197378c7f36a33f4789
parent2b55acb49ce0bc33bb32dc22fa721442bf8fe2b5 (diff)
downloadapkbuilds-b1353bf7003bdf1b98cdedd4dda6dc6e836fe93e.tar.gz
apkbuilds-b1353bf7003bdf1b98cdedd4dda6dc6e836fe93e.tar.bz2
apkbuilds-b1353bf7003bdf1b98cdedd4dda6dc6e836fe93e.zip
fix: Fix remote path
Remote path should follow repo alpine version and arch
-rwxr-xr-xpkgkit4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgkit b/pkgkit
index 4afc8e9..b1dcd56 100755
--- a/pkgkit
+++ b/pkgkit
@@ -227,7 +227,7 @@ upload_pkg() (
aver="$(get_aver)"
set -x
- path="$remote_path/$aver/$repo/$arch"
+ path="$remote_path/$aver/$arch"
ssh "$remote" mkdir -p "$path"
url=$(echo "$remote" | cut -d@ -f2)
@@ -255,7 +255,7 @@ update_index() (
. /etc/os-release
aver="$(get_aver)"
- path="$remote_path/$aver/$repo/$arch"
+ path="$remote_path/$aver/$arch"
set -x
ssh "$remote" \