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
|
2014-05-02 17:02:38 +00:00
|
|
|
cp /tmp/in_target.d/dib_environment /etc/
|
2013-04-04 19:38:19 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "/tmp/in_target.d/dib_arguments" ]; then
|
2014-05-02 17:02:38 +00:00
|
|
|
cp /tmp/in_target.d/dib_arguments /etc/
|
2013-04-04 19:38:19 +00:00
|
|
|
fi
|