machine_setup/ansible/roles/poudriere/files/poudriere_schedule_build.bash
2024-04-06 11:00:20 -04:00

12 lines
223 B
Bash
Executable File

#!/usr/bin/env bash
#
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function main {
find / -type f -name times -exec sed -E -i 's/LASTBUILD=.*/LASTBUILD=0/' {} \;
}
main "${@}"