+ dir exist checks
This commit is contained in:
@@ -8,6 +8,16 @@ tmp_dir=/tmp
|
|||||||
this_file_name=`basename "$0"`
|
this_file_name=`basename "$0"`
|
||||||
echo "$this_file_name"
|
echo "$this_file_name"
|
||||||
|
|
||||||
|
if [ ! -d ${src_dir} ]; then
|
||||||
|
echo "error: missing directory '${src_dir}'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d ${tmp_dir} ]; then
|
||||||
|
echo "error: missing directory '${tmp_dir}'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "please, remember the hint: bibL2"
|
echo "please, remember the hint: bibL2"
|
||||||
|
|
||||||
# copy .zip.gpg to tmp dir
|
# copy .zip.gpg to tmp dir
|
||||||
|
|||||||
Reference in New Issue
Block a user