Correct egreps that filter executables vs. scripts
This commit is contained in:
parent
c786941496
commit
ffb69138ec
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user