Make binsizes work if src isn't in /etc/src. Also include
/usr/lib/ego/* files.
This commit is contained in:
parent
7a1a558edd
commit
fff6f5aead
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
t=/usr/src/etc/binary_sizes
|
t=/etc/binary_sizes
|
||||||
|
|
||||||
if [ "$#" -ne 1 ]
|
if [ "$#" -ne 1 ]
|
||||||
then echo "Usage: $0 <big|normal>"
|
then echo "Usage: $0 <big|normal>"
|
||||||
@ -10,7 +10,7 @@ fi
|
|||||||
if [ "$1" = big ]
|
if [ "$1" = big ]
|
||||||
then t=$t.big
|
then t=$t.big
|
||||||
fi
|
fi
|
||||||
chmem =250000 /usr/lib/* /usr/lib/i386/* >/dev/null 2>&1
|
chmem =350000 /usr/lib/* /usr/lib/i386/* /usr/lib/ego/* >/dev/null 2>&1
|
||||||
if [ -f $t ]
|
if [ -f $t ]
|
||||||
then cat "$t" | while read line
|
then cat "$t" | while read line
|
||||||
do awk '{ print "chmem =" $2 " " $1 " >/dev/null 2>&1 "}'
|
do awk '{ print "chmem =" $2 " " $1 " >/dev/null 2>&1 "}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user