Skip to content

Commit

Permalink
fix(test: fake_makepkg): correctly bypass args
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 5, 2024
1 parent 77ac56e commit d14bfd2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pikaur_test/fake_makepkg
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ check() {
source=(
"http://example.com"
)
b2sums=(
"SKIP"
)
' >> ./PKGBUILD


# shellcheck disable=SC2154
if grep -q "git" <<< "$pkgname" ; then
echo '
Expand Down Expand Up @@ -89,6 +87,9 @@ package_${_pkg_name}() {
done
fi


/usr/bin/makepkg "${new_args[@]}"
else
/usr/bin/makepkg "$@"
fi
# shellcheck disable=SC2068
/usr/bin/makepkg "${new_args[@]}"

0 comments on commit d14bfd2

Please sign in to comment.