New installation mechanism
This commit is contained in:
11
first/create_dir
Executable file
11
first/create_dir
Executable file
@@ -0,0 +1,11 @@
|
||||
if ( cd $1 ) 2>/dev/null
|
||||
then
|
||||
:
|
||||
elif mkdir $1 2>/dev/null
|
||||
then
|
||||
:
|
||||
else
|
||||
echo $0: could not create directory $1 1>&2
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
Reference in New Issue
Block a user