lineedit: print prompt and editing operations to stderr
[busybox-git.git] / applets / busybox.mkscripts
blob935685cba87b3a96bbca40ef68e9296ae4cf6228
1 #!/bin/sh
2 # Make busybox scripted applet list file.
4 # input $1: full path to Config.h
5 # input $2: full path to applets.h
6 # output (stdout): list of pathnames that should be linked to busybox
8 export LC_ALL=POSIX
9 export LC_CTYPE=POSIX
11 CONFIG_H=${1:-include/autoconf.h}
12 APPLETS_H=${2:-include/applets.h}
13 $HOSTCC -E -DMAKE_SCRIPTS -include $CONFIG_H $APPLETS_H |
14 awk '/^[ \t]*SCRIPT/{
15 print $2