aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/mkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/mkbuild')
-rwxr-xr-xtrunk/src/mkbuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index db8bc4f..b256ec0 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -848,6 +848,9 @@ function load_parameters {
COLOR_MODE="`eval_parameter COLOR_MODE none`"
TMP="`eval_parameter TMP /tmp`"
+ MKBUILD_AUTHOR="`eval_parameter MKBUILD_AUTHOR`"
+ MKBUILD_AUTHOR_INITIALS="`eval_parameter MKBUILD_AUTHOR_INITIALS`"
+
SIGN_MANIFESTS="`eval_boolean_parameter SIGN_MANIFESTS $off`"
SIGN_MANIFESTS_USER="`eval_parameter SIGN_MANIFESTS_USER`"
SIGN_MANIFESTS_KEYID="`eval_parameter SIGN_MANIFESTS_KEYID`"
@@ -1472,6 +1475,14 @@ function create_mkbuild {
# Create a new .mkbuild parameters-file
cp $MODEL_DIR/model.mkbuild $MKBUILD_NAME
+ if [ -z "$AUTHOR" ] && [ ! -z "$MKBUILD_AUTHOR" ]; then
+ AUTHOR="$MKBUILD_AUTHOR"
+ fi
+
+ if [ -z "$AUTHOR_INITIALS" ] && [ ! -z "$MKBUILD_AUTHOR_INITIALS" ]; then
+ AUTHOR_INITIALS="$MKBUILD_AUTHOR_INITIALS"
+ fi
+
# Package Author
if [ ! -z "$AUTHOR" ]; then
edit_file "YOUR NAME" "${AUTHOR}" $MKBUILD_NAME