apache / apache/nuttx

Building System doesn't work case there are space or special characters in the directory name

Open
#5,586 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

Petro reported that IDF didn't work inside his Mac "/Volumes/Macintosh HD (CS)/" then I suspected of spaces in the name of Volume name and then I decided to test similar thing on NuttX building system:

alan@dev:/tmp/New Space NuttX/nuttx$ ./tools/configure.sh sim:nsh
./tools/configure.sh: line 137: [: too many arguments
./tools/configure.sh: line 156: [: too many arguments
./tools/configure.sh: line 176: [: too many arguments
./tools/configure.sh: line 181: [: too many arguments
grep: /tmp/New: No such file or directory
grep: Space: No such file or directory
grep: NuttX/nuttx/tools/../boards/*/*/sim/configs/nsh/defconfig: No such file or directory
grep: /tmp/New: No such file or directory
grep: Space: No such file or directory
grep: NuttX/nuttx/tools/../boards/*/*/sim/configs/nsh/defconfig: No such file or directory
Copy files
install: target '/tmp/New Space NuttX/nuttx/tools/../Make.defs' is not a directory
Failed to copy /tmp/New Space NuttX/nuttx/tools/../boards/*/*/sim/configs/nsh/Make.defs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.