forked from kiss-community/repo
gcc,perl: Fix POSIX find. Closes #178
This commit is contained in:
parent
02fc492af1
commit
1f94999d18
@ -46,9 +46,9 @@ make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
# Save 35MB.
|
||||
find "$1" -name libgtkpeer.a -delete
|
||||
find "$1" -name libgjsmalsa.a -delete
|
||||
find "$1" -name libgij.a -delete
|
||||
find "$1" -name libgtkpeer.a -exec rm -f {} +
|
||||
find "$1" -name libgjsmalsa.a -exec rm -f {} +
|
||||
find "$1" -name libgij.a -exec rm -f {} +
|
||||
|
||||
# Some legacy programs will expect cc
|
||||
ln -s gcc "$1/usr/bin/cc"
|
||||
|
@ -31,13 +31,13 @@ make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
# Remove all unneeded files.
|
||||
find "$1" -name \*.pod -delete
|
||||
find "$1" -name .packlist -delete
|
||||
find "$1" -name README\* -delete
|
||||
find "$1" -name TODO\* -delete
|
||||
find "$1" -name Change\* -delete
|
||||
find "$1" -name \*.bs -delete
|
||||
find "$1" -name \*.0 -type f -delete
|
||||
find "$1" -name \*.pod -exec rm -f {} +
|
||||
find "$1" -name .packlist -exec rm -f {} +
|
||||
find "$1" -name README\* -exec rm -f {} +
|
||||
find "$1" -name TODO\* -exec rm -f {} +
|
||||
find "$1" -name Change\* -exec rm -f {} +
|
||||
find "$1" -name \*.bs -exec rm -f {} +
|
||||
find "$1" -name \*.0 -type f -exec rm -f {} +
|
||||
|
||||
# Fix permissions.
|
||||
find "$1/usr/lib" -type f -exec chmod 644 {} \;
|
||||
|
@ -44,9 +44,9 @@ make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
# Save 35MB.
|
||||
find "$1" -name libgtkpeer.a -delete
|
||||
find "$1" -name libgjsmalsa.a -delete
|
||||
find "$1" -name libgij.a -delete
|
||||
find "$1" -name libgtkpeer.a -exec rm -f {} +
|
||||
find "$1" -name libgjsmalsa.a -exec rm -f {} +
|
||||
find "$1" -name libgij.a -exec rm -f {} +
|
||||
|
||||
# Some legacy programs will expect cc
|
||||
ln -s gcc "$1/usr/bin/cc"
|
||||
|
Loading…
Reference in New Issue
Block a user