mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +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:
+3
-3
@@ -135,10 +135,10 @@ genromfs -h 1>/dev/null 2>&1 || { \
|
|||||||
# Supply defaults for all un-defined ROMFS settings
|
# Supply defaults for all un-defined ROMFS settings
|
||||||
|
|
||||||
if [ -z "$romfsmpt" ]; then
|
if [ -z "$romfsmpt" ]; then
|
||||||
romfsmpt="/etc"
|
romfsmpt=\"/etc\"
|
||||||
fi
|
fi
|
||||||
if [ -z "$initscript" ]; then
|
if [ -z "$initscript" ]; then
|
||||||
initscript="init.d/rcS"
|
initscript=\"init.d/rcS\"
|
||||||
fi
|
fi
|
||||||
if [ -z "$romfsdevno" ]; then
|
if [ -z "$romfsdevno" ]; then
|
||||||
romfsdevno=0
|
romfsdevno=0
|
||||||
@@ -163,7 +163,7 @@ if [ "$usefat" = true ]; then
|
|||||||
fatnsectors=1024
|
fatnsectors=1024
|
||||||
fi
|
fi
|
||||||
if [ -z "$fatmpt" ]; then
|
if [ -z "$fatmpt" ]; then
|
||||||
fatmpt="/tmp"
|
fatmpt=\"/tmp\"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user