Skip to content

Commit

Permalink
replce `` with $()
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 24, 2015
1 parent a9f26ac commit 7e94bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scram-project-build.file
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ for DIR in $ELF_DIRS $DROP_SYMBOLS_DIRS; do
# ELF binaries
ELF_BINS=$(file * | grep ELF | cut -d':' -f1)
if [ ! -z "$ELF_BINS" ]; then
if [ `echo $ELF_BINS | wc -w` -gt 1 ] ; then
if [ $(echo $ELF_BINS | wc -w) -gt 1 ] ; then
dwz -m .debug/common-symbols.debug -M common-symbols.debug $ELF_BINS
fi
echo "$ELF_BINS" | xargs -t -n1 -P%{compiling_processes} -I% sh -c 'objcopy --compress-debug-sections --only-keep-debug % .debug/%.debug; objcopy --strip-debug --add-gnu-debuglink=.debug/%.debug %'
Expand Down

0 comments on commit 7e94bc2

Please sign in to comment.