+ dir exist checks

This commit is contained in:
committer@tuxwarrior
2026-03-18 08:37:28 -05:00
parent 96167b3dd9
commit 7e271470d3

View File

@@ -8,6 +8,16 @@ tmp_dir=/tmp
this_file_name=`basename "$0"`
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"
# copy .zip.gpg to tmp dir