2013-04-04 19:38:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Store the build-time environment and command line arguments
|
|
|
|
|
|
|
|
set -e
|
|
|
|
source $_LIB/die
|
2013-11-29 23:38:49 +00:00
|
|
|
[ -n "$TMP_HOOKS_PATH" ] || die "Temp hook path not set"
|
2013-04-04 19:38:19 +00:00
|
|
|
|
|
|
|
echo "$DIB_ENV" > $TMP_HOOKS_PATH/dib_environment
|
|
|
|
echo "$DIB_ARGS" > $TMP_HOOKS_PATH/dib_arguments
|