scripts: Eliminate unnecessary process substitution

This commit is contained in:
Albert Ou 2019-08-31 03:11:46 -07:00
parent 9e9e7dd442
commit cff1f6b11e
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ fi
set -e
objs=$(head -n 1 <(make -f <( echo -e 'include Makefile\n$(info $(value fesvr_objs))') -n))
objs=$(make -n -f <(
echo 'include Makefile'
echo '$(info $(value fesvr_objs))'
) | head -n 1)
ar rcs -o libfesvr.a $objs
cp -f libfesvr.a "${RISCV}/lib"