Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ if [ "$update_pkgver" = "true" ]; then

# Update the pkgver in a temp folder
tmp_makepkg=$(mktemp -d)
cp -r /tmp/local-repo/* $tmp_makepkg
cp -r /tmp/local-repo/. $tmp_makepkg
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could remove /. at this point.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks for you remminding.

(cd $tmp_makepkg && makepkg -od)

# Copy back the PKGBUILD
# Copy the PKGBUILD back
cp $tmp_makepkg/PKGBUILD /tmp/local-repo/

echo '::endgroup::'
Expand Down