2013-04-04 19:38:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Store build-time environment and command line arguments
|
|
|
|
|
2014-04-03 02:24:15 +00:00
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
2013-04-04 19:38:19 +00:00
|
|
|
|
|
|
|
if [ -e "/tmp/in_target.d/dib_environment" ]; then
|
|
|
|
cp /tmp/in_target.d/dib_environment /etc/
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "/tmp/in_target.d/dib_arguments" ]; then
|
|
|
|
cp /tmp/in_target.d/dib_arguments /etc/
|
|
|
|
fi
|