Merge "Correct misuse of return in ramdisk-image-create"
This commit is contained in:
commit
750e4c3e06
@ -73,14 +73,14 @@ FIRMWARE_DIR=$MODULE_ROOT/lib/firmware
|
|||||||
|
|
||||||
if [ ! -d "$MODULE_DIR" ]; then
|
if [ ! -d "$MODULE_DIR" ]; then
|
||||||
echo "ERROR: kernel module directory not found at $MODULE_DIR"
|
echo "ERROR: kernel module directory not found at $MODULE_DIR"
|
||||||
return 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LIB_UDEV=$LIB_UDEV_ROOT/lib/udev
|
LIB_UDEV=$LIB_UDEV_ROOT/lib/udev
|
||||||
|
|
||||||
if [ ! -d "$LIB_UDEV" ]; then
|
if [ ! -d "$LIB_UDEV" ]; then
|
||||||
echo "ERROR: udev directory not found at $LIB_UDEV"
|
echo "ERROR: udev directory not found at $LIB_UDEV"
|
||||||
return 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mk_build_dir
|
mk_build_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user