Robert C Jennings eea56e02ae Import patches-unapplied version 2.408.12 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: f4c4fa3fcc4b5a9fff8a56c4bb21dada6239c0a0

New changelog entries:
  * live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure.
    (LP: #1687752)
2017-05-11 19:50:29 +00:00

16 lines
311 B
Bash
Executable File

#!/bin/bash
# Execute extra binary hooks.
my_dir=$(dirname $(readlink -f ${0}))
extra_d=${my_dir}/extra
if [ ! -d ${my_dir}/extra ]; then
exit 0
fi
# Export the common functions to the extras
. /build/config/functions
# Cleaner execution
/bin/run-parts --exit-on-error --regex ".*\.binary" "${extra_d}"