Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinghigh authored Sep 11, 2023
1 parent ad2c03b commit e792bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ chown -R builder .
pacman -S --noconfirm --needed paru

if test -z "${INPUT_MAKEPKGPROFILEPATH}";then
sudo -H -u builder paru -U --noconfirm --clonedir . $pkgname
sudo -H -u builder paru -U --noconfirm --clonedir . $pkgname --mflags "${INPUT_MAKEPKGARGS:-}"
else
chmod -R a+rw ${INPUT_MAKEPKGPROFILEPATH}
sudo -H -u builder paru -U --mflags "--config ${INPUT_MAKEPKGPROFILEPATH}" --noconfirm --clonedir .
sudo -H -u builder paru -U --mflags "--config ${INPUT_MAKEPKGPROFILEPATH} ${INPUT_MAKEPKGARGS:-}" --noconfirm --clonedir .
fi

sudo -H -u builder paru -U --noconfirm --mflags "${INPUT_MAKEPKGARGS:-}"
Expand Down

0 comments on commit e792bc1

Please sign in to comment.