mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-14 02:16:18 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
563ffa7be8 | ||
![]() |
f01097f22c |
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
V=0.9.18
|
V=0.9.19
|
||||||
|
|
||||||
BINPROGS = \
|
BINPROGS = \
|
||||||
checkpkg \
|
checkpkg \
|
||||||
|
@@ -125,15 +125,17 @@ for _arch in ${arch[@]}; do
|
|||||||
pkgfile=$(getpkgfile "$_pkgname-$fullver-${_arch}".pkg.tar.?z 2>/dev/null)
|
pkgfile=$(getpkgfile "$_pkgname-$fullver-${_arch}".pkg.tar.?z 2>/dev/null)
|
||||||
pkgdestfile=$(getpkgfile "$PKGDEST/$_pkgname-$fullver-${_arch}".pkg.tar.?z 2>/dev/null)
|
pkgdestfile=$(getpkgfile "$PKGDEST/$_pkgname-$fullver-${_arch}".pkg.tar.?z 2>/dev/null)
|
||||||
|
|
||||||
if [ ! -f "$pkgfile" -a -f "$pkgdestfile" ]; then
|
if [ -f "$pkgfile" ]; then
|
||||||
|
pkgfile="./$pkgfile"
|
||||||
|
elif [ -f "$pkgdestfile" ]; then
|
||||||
pkgfile="$pkgdestfile"
|
pkgfile="$pkgdestfile"
|
||||||
elif [ ! -f "$pkgfile" ]; then
|
else
|
||||||
echo "skipping ${_arch}"
|
echo "skipping ${_arch}"
|
||||||
continue 2
|
continue 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n 'uploading '
|
echo -n 'uploading '
|
||||||
rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "./${pkgfile}" -e ssh "$server:staging/$repo/${pkgfile##*/}" || abort
|
rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh "$server:staging/$repo/${pkgfile##*/}" || abort
|
||||||
done
|
done
|
||||||
archrelease $repo-${_arch} || abort
|
archrelease $repo-${_arch} || abort
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user