diff options
author | 2023-08-22 17:29:11 +0200 | |
---|---|---|
committer | 2023-08-22 17:29:11 +0200 | |
commit | dacbbdf447157dfdfc4383ce27a0ac5b89c6ebf5 (patch) | |
tree | 9ac1bb479932ff4f52ba104504b8ba788d16b32c /scripts | |
parent | 921b2a62cc28b04203d9ba261d32e0be6399e698 (diff) | |
download | cherry-master.tar.gz cherry-master.zip |
The before printf add a space must be removed.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/buildmk.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/buildmk.sh b/scripts/buildmk.sh index 4e2b3d2..651fe09 100755 --- a/scripts/buildmk.sh +++ b/scripts/buildmk.sh @@ -12,6 +12,9 @@ for i in `find ${SRC_DIR} -name '*.c'`; do OBJ=$OBJ`printf "%s " $i | sed -E "s|${SRC_DIR}(.*)\.c|$\{BUILD_DIR\}\1\.o|g"` done +# Remove the trailing space in OBJ +OBJ=`echo $OBJ | sed 's/ $//'` + cat <<EOF > ${MAKEFILE} # See LICENSE file for copyright and license details. |