aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-28 16:27:24 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-28 16:27:24 +0000
commite10db64a829b33f14ae2a51f36805666aa01961b (patch)
tree715f3e517569ed17a6a8f3885897953242abba60 /trunk/src
parente8ab01389a02f64f7a7c5a01a96ca9ca568223da (diff)
downloadsimplepkg-e10db64a829b33f14ae2a51f36805666aa01961b.tar.gz
simplepkg-e10db64a829b33f14ae2a51f36805666aa01961b.tar.bz2
attempting to fix #81
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@783 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-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