add -p flag to mkdir
This commit is contained in:
2
sxbm
2
sxbm
@ -167,7 +167,7 @@ bm_open(){
|
|||||||
[ -z "$1" ] && usage && die "No command given"
|
[ -z "$1" ] && usage && die "No command given"
|
||||||
|
|
||||||
[ -d "$DATA_DIR" ] ||
|
[ -d "$DATA_DIR" ] ||
|
||||||
mkdir "$DATA_DIR" ||
|
mkdir -p "$DATA_DIR" ||
|
||||||
die "Unable to create $DATA_DIR"
|
die "Unable to create $DATA_DIR"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user