13 lines
272 B
Plaintext
13 lines
272 B
Plaintext
|
#!/bin/bash
|
||
|
# Store build-time environment and command line arguments
|
||
|
|
||
|
set -e
|
||
|
|
||
|
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
|