Skip to content

Commit

Permalink
Switch to using scripts in mantisbt repo
Browse files Browse the repository at this point in the history
Fixes #28008
  • Loading branch information
dregad committed Mar 7, 2021
1 parent e2ec0af commit bf636c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nightly-builds.sh
Expand Up @@ -30,7 +30,7 @@ pathBuilds=/srv/www/builds
numToKeep=2

# Location of release build scripts
pathTools=$(dirname "$(readlink -e $0)")
pathTools=/srv/mantisbt/build

# Log file - set to /dev/null for no log
logfile=/var/log/$(basename "$0" .sh).log
Expand Down Expand Up @@ -156,7 +156,8 @@ do
do
fileSpec=$(basename "$build" $keyExt)
echo " Deleting files for $fileSpec"
rm -r "$fileSpec*"
# shellcheck disable=SC2086
rm -r $fileSpec*
done
done |tee -a "$logfile"
echo >>"$logfile"
Expand Down

0 comments on commit bf636c6

Please sign in to comment.