summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-11 16:08:51 +0200
committerErich Eckner <git@eckner.net>2019-07-11 16:08:51 +0200
commita6580bcffc9fad287d57894e682ff4d4456f79ec (patch)
tree95070e7973224beee99413f8ddc56cc6b6119033 /archPackagesUpdate
parent8e25021f8e3662ff473cdf2f5d89b83ee9873ac0 (diff)
downloadarchlinuxewe-a6580bcffc9fad287d57894e682ff4d4456f79ec.tar.xz
archPackagesUpdate: use SRCPKGDEST (now hopefully correctly)
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate10
1 files changed, 5 insertions, 5 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index ed4355a6f..fb3e3aaee 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -518,14 +518,12 @@ if ${aufRechenknecht}; then
;;
'armv6h')
# armv6h is built on the raspberry pi
- SRCPKGDEST="${tmpDir}/paket.src.tar.gz" makepkg -Sf
+ SRCPKGDEST="${tmpDir}" makepkg -Sf
err[${i}]=$?
if [ ${err[${i}]} -eq 0 ]; then
(
- zcat "${tmpDir}/paket.src.tar.gz"
- rm "${tmpDir}/paket.src.tar.gz"
cd "${tmpDir}"
- tar -cf - makepkg-armv6h.conf
+ tar -cf - "${paket}-${vers}.src.tar.gz" makepkg-armv6h.conf
) \
| gzip -c - \
| ssh eckner.net -p 15912 "$(
@@ -534,7 +532,9 @@ if ${aufRechenknecht}; then
printf 'rm -rf --one-file-system build\n'
printf 'mkdir build\n'
printf 'cd build\n'
- printf 'tar -xzif -\n'
+ printf 'tar -xzf -\n'
+ printf 'tar -xzf "%s"\n' \
+ "${paket}-${vers}.src.tar.gz"
printf 'cd "%s"\n' "${paket}"
printf 'makepkg %s --holdver --config ~/build/makepkg-armv6h.conf -fsr --noconfirm --asdeps >&2\n' \
"${log} ${checkMakepkg}"