Skip to content

Commit

Permalink
buildpkg: Fix typo in the usr/lib strip command
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Falcato <[email protected]>
  • Loading branch information
heatd committed May 8, 2024
1 parent 3dad361 commit 7a0cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildpkg/buildpkg
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ $TASK == "build+package" || $TASK == "package" ]]; then

find "$PKGDIR/usr/bin" -type f -exec sh -c '(! echo {} | grep -q .*.o) && (file {} | grep -q ELF)' \; -exec $STRIP {} \; || true
find "$PKGDIR/usr/libexec" -type f -exec sh -c '(! echo {} | grep -q .*.o) && (file {} | grep -q ELF)' \; -exec $STRIP {} \; || true
find "$PKGDIR/usr/lib" -type f -exec sh -c '(! echo {} | grep -q .*.o) && && (! echo {} | grep -q .*grub.*) && (file {} | grep -q ELF)' \; -exec $STRIP {} \; || true
find "$PKGDIR/usr/lib" -type f -exec sh -c '(! echo {} | grep -q .*.o) && (! echo {} | grep -q .*grub.*) && (file {} | grep -q ELF)' \; -exec $STRIP {} \; || true
echo "done."

tar -cf ${PKGNAME}-${PKGVER}.tar -C $PKGDIR .
Expand Down

0 comments on commit 7a0cc63

Please sign in to comment.