|
||||
File indexing completed on 2024-04-06 11:57:50
0001 #!/bin/bash 0002 0003 export MYDIR=$1 0004 export MESSAGE=$2 0005 echo ${MESSAGE} ': ' 0006 echo $MYDIR 0007 if [ -d $MYDIR ]; then 0008 echo ' ... OK' 0009 else 0010 echo ' ... does not exist -- create' 0011 mkdir $MYDIR 0012 if [ -d $MYDIR ]; then 0013 echo ' ... OK' 0014 else 0015 echo ' ... creation failed' 0016 return 0017 fi 0018 fi 0019
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |