comparison scripts/make.sh @ 595:d8566c3321f0 0.3.0

Multiplexer needs stayroot flag for suid handling.
author Rob Landley <rob@landley.net>
date Mon, 11 Jun 2012 23:57:16 -0500
parents 1e07220fd3b6
children 2986aa63a021
comparison
equal deleted inserted replaced
594:051dffe00b99 595:d8566c3321f0
19 for i in toys/*.c 19 for i in toys/*.c
20 do 20 do
21 sed -n -e '1,/^config [A-Z]/s/^USE_/&/p' $i || exit 1 21 sed -n -e '1,/^config [A-Z]/s/^USE_/&/p' $i || exit 1
22 done 22 done
23 } 23 }
24 echo "NEWTOY(toybox, NULL, 0)" > generated/newtoys.h 24 echo "NEWTOY(toybox, NULL, TOYFLAG_STAYROOT)" > generated/newtoys.h
25 newtoys | sed 's/\(.*TOY(\)\([^,]*\),\(.*\)/\2 \1\2,\3/' | sort -k 1,1 \ 25 newtoys | sed 's/\(.*TOY(\)\([^,]*\),\(.*\)/\2 \1\2,\3/' | sort -k 1,1 \
26 | sed 's/[^ ]* //' >> generated/newtoys.h 26 | sed 's/[^ ]* //' >> generated/newtoys.h
27 27
28 # Extract global structure definitions and flag definitions from toys/*.c 28 # Extract global structure definitions and flag definitions from toys/*.c
29 29