changeset 19:b151b87ddf35

The installed files should be world readable.
author Rob Landley <rob@landley.net>
date Sun, 06 Nov 2011 09:27:37 -0600
parents 8b2a876d74a5
children e2d5699cee3a
files images/lfs-bootstrap/mnt/build/gettext-stub.sh
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/images/lfs-bootstrap/mnt/build/gettext-stub.sh	Wed Nov 02 00:47:41 2011 -0500
+++ b/images/lfs-bootstrap/mnt/build/gettext-stub.sh	Sun Nov 06 09:27:37 2011 -0600
@@ -2,6 +2,7 @@
 
 # Stub to compile packages that refuse to build without gettext.
 
-gcc -shared -fpic -o /usr/lib/libintl.so libintl-stub.c &&
-cp libintl-stub.h /usr/include/libintl.h &&
-cp msgfmt /usr/bin
+gcc -shared -fpic -o libintl.so libintl-stub.c &&
+install -m 755 libintl.so /usr/lib && 
+install -m 644 libintl-stub.h /usr/include/libintl.h &&
+install -m 755 msgfmt /usr/bin