Add arguments check.
This commit is contained in:
parent
685859312a
commit
9e11fcaab3
@ -2,6 +2,11 @@
|
||||
|
||||
TARGET=$1
|
||||
|
||||
if [ -z "${TARGET}" ]; then
|
||||
echo "Usage: $0 <work_dir>"
|
||||
exit 255
|
||||
fi
|
||||
|
||||
mkdir ${TARGET}
|
||||
mkdir ${TARGET}/ramdisk
|
||||
mkdir ${TARGET}/firmware
|
||||
|
Loading…
Reference in New Issue
Block a user