summaryrefslogtreecommitdiff
path: root/evergreen/functions/files_remove.sh
blob: db3631942d7aa87d6a1b602f5ac8baae7d306cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/../prelude.sh"

if [ -z "${files}" ]; then
  exit 0
fi
for file in ${files}; do
  if [ -f "$file" ]; then
    echo "Removing file $file"
    rm -f $file
  fi
done