utils.sh 167 B

123456789
  1. #!/bin/sh
  2. check_file_exists() {
  3. echo "info | config file ${1}"
  4. if [ ! -f "${1}" ]; then
  5. echo "warn | file ${1} does not exist."
  6. exit
  7. fi
  8. }