Correct egreps that filter executables vs. scripts

This commit is contained in:
Tom G. Christensen 2008-04-20 14:31:47 +00:00
parent c786941496
commit ffb69138ec

View File

@ -506,8 +506,8 @@ extract_deps()
# Grab the filelist and classify files # Grab the filelist and classify files
local filelist=$($AWK '{ print $3 }' $metadir/prototype.$secname | $GREP '.') local filelist=$($AWK '{ print $3 }' $metadir/prototype.$secname | $GREP '.')
local exelist=$(echo $filelist | $XARGS $FILE | $EGREP -v ":.* (commands|script) " | $GREP ":.*executable" | $CUT -d: -f1) local exelist=$(echo $filelist | $XARGS $FILE | $EGREP -v ":.* (commands|script)" | $GREP ":.*executable" | $CUT -d: -f1)
local scriptlist=$(echo $filelist | $XARGS $FILE | $EGREP ":.* (commands|script) " | $CUT -d: -f1) local scriptlist=$(echo $filelist | $XARGS $FILE | $EGREP ":.* (commands|script)" | $CUT -d: -f1)
local liblist=$(echo $filelist | $XARGS $FILE | $GREP ":.*dynamic lib" | $CUT -d: -f1) local liblist=$(echo $filelist | $XARGS $FILE | $GREP ":.*dynamic lib" | $CUT -d: -f1)
# Compute dependencies for executables # Compute dependencies for executables