ChMkDir: Check default dir
This commit is contained in:
parent
72c38ee47a
commit
25fc46bec8
1 changed files with 13 additions and 0 deletions
13
util/ChMkDir.sh
Normal file
13
util/ChMkDir.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
:<<'info'
|
||||
shellnotes - ChMkDir.sh
|
||||
(C) Dimitris Marakomihelakis
|
||||
Released under the "All rights reserved" category. See the RIGHTS.txt file
|
||||
in /docs/github/ for its full text.
|
||||
info
|
||||
|
||||
cd ~
|
||||
if [[ -d "$DEFAULT_PATH" ]]; then
|
||||
exists=true
|
||||
else
|
||||
mkdir Notes >/dev/null
|
||||
fi
|
Loading…
Reference in a new issue