Skip to content

Commit 0eeac69

Browse files
fix(release): PKGBUILD null directory (#501)
As reported here: https://aur.archlinux.org/packages/upcloud-cli#comment-1032759 The current PKGBUILD results in ``` ==> Starting package()... /home/kainoa/.cache/yay/upcloud-cli/PKGBUILD: line 12: cd: null directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: upcloud-cli-exit status 4 ``` Removing that `cd` line results in a successful installation.
1 parent 4f6f0a6 commit 0eeac69

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

scripts/generate_aur_pkgbuild.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ source=("https://github.com/UpCloudLtd/\${pkgname}/releases/download/v\${pkgver}
2323
sha256sums=('${PKG_HASH}')
2424
2525
package() {
26-
cd "\$pkgname_\$pkgver_linux_x86_64"
2726
install -Dm755 upctl "\$pkgdir/usr/local/bin/upctl"
2827
}
2928
EOF

0 commit comments

Comments
 (0)