Skip to content

Instantly share code, notes, and snippets.

View mjung's full-sized avatar

Marko J mjung

View GitHub Profile
@mjung
mjung / run_autopkg_build.sh
Last active October 1, 2015 11:13
Simple loop based script to run multiple recipes
#!/bin/bash
#
# create files/links matching recipe names to be run in the ${BUILD_RECIPE_DIR}
#
exec > >(logger -i -t autopkg-build) 2>&1
BUILD_RECIPE_DIR="/srv/autopkg/BuildRecipes"
EMAIL_ERRORS_TO='incidents@acme.corp'
my_name=$(basename $0)