mirror of
https://github.com/apache/nuttx.git
synced 2025-12-17 10:16:49 +08:00
tools/mkromfsimg.sh: fix build error in case if romfs is used
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
@@ -135,10 +135,10 @@ genromfs -h 1>/dev/null 2>&1 || { \
|
||||
# Supply defaults for all un-defined ROMFS settings
|
||||
|
||||
if [ -z "$romfsmpt" ]; then
|
||||
romfsmpt="/etc"
|
||||
romfsmpt=\"/etc\"
|
||||
fi
|
||||
if [ -z "$initscript" ]; then
|
||||
initscript="init.d/rcS"
|
||||
initscript=\"init.d/rcS\"
|
||||
fi
|
||||
if [ -z "$romfsdevno" ]; then
|
||||
romfsdevno=0
|
||||
@@ -163,7 +163,7 @@ if [ "$usefat" = true ]; then
|
||||
fatnsectors=1024
|
||||
fi
|
||||
if [ -z "$fatmpt" ]; then
|
||||
fatmpt="/tmp"
|
||||
fatmpt=\"/tmp\"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user