fixed variable typo

This commit is contained in:
Noah Swerhun 2021-12-26 00:23:17 -06:00
parent 9368828db1
commit a24e95fbb6

View file

@ -102,7 +102,7 @@ EOF
awk -F\" '{ print $2 }')"
printf "%s: %s " "${objname}" "${srcname}" >> "${MAKEFILE}"
for line in $includes; do
printf "%s " "${file%$(basename ${file})}${line}" >> "${MAKEFILE}"
printf "%s " "${srcname%$(basename ${srcname})}${line}" >> "${MAKEFILE}"
done
printf "\n" >> "${MAKEFILE}"