OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 26-Oct-2006 22:19:54
Branch: HEAD Handle: 2006102621195300
Modified files:
openpkg-tools/cmd dev.sh
Log:
add options to complement recently added OPENPKG_NAME and OPENPKG_MAIL
variables
Summary:
Revision Changes Path
1.90 +17 -1 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.89 -r1.90 dev.sh
--- openpkg-tools/cmd/dev.sh 26 Oct 2006 20:01:58 -0000 1.89
+++ openpkg-tools/cmd/dev.sh 26 Oct 2006 20:19:53 -0000 1.90
@@ -143,7 +143,7 @@
OPENPKG_MAIL="[EMAIL PROTECTED]"
;;
esac
-export OPENPKG_INST OPENPKG_WORK OPENPKG_TEMP OPENPKG_MODE OPENPKG_REPO
OPENPKG_RMOD OPENPKG_SAVE OPENPKG_DIST
+export OPENPKG_INST OPENPKG_WORK OPENPKG_TEMP OPENPKG_MODE OPENPKG_REPO
OPENPKG_RMOD OPENPKG_SAVE OPENPKG_DIST OPENPKG_NAME OPENPKG_MAIL
# enforced and user controlled (through package/branch/execute) variables
OPENPKG_SPEC="${OPENPKG_SPEC}"; P="$P" # package, spec file without .spec
suffix
@@ -216,6 +216,8 @@
--exec=* ) OPENPKG_EXEC=${arg}
OPENPKG_ARGS="$OPENPKG_ARGS${OPENPKG_ARGS:+ }--exec=${arg}";;
--trun=* ) OPENPKG_TRUN=${arg}
OPENPKG_ARGS="$OPENPKG_ARGS${OPENPKG_ARGS:+ }--trun=${arg}";;
--sdir=* ) OPENPKG_SDIR=${arg}
OPENPKG_ARGS="$OPENPKG_ARGS${OPENPKG_ARGS:+ }--sdir=${arg}";;
+ --name=* ) OPENPKG_NAME=${arg}
OPENPKG_ARGS="$OPENPKG_ARGS${OPENPKG_ARGS:+ }--name=${arg}";;
+ --mail=* ) OPENPKG_MAIL=${arg}
OPENPKG_ARGS="$OPENPKG_ARGS${OPENPKG_ARGS:+ }--mail=${arg}";;
-* ) help="Invalid option \`${opt}'"; break ;;
* ) break ;;
esac
@@ -3166,6 +3168,20 @@
fallback to "src". While working within the Development Shell this
setting can be changed at any time by running the "srcdir" command.
+=item B<--name=>I<realname>
+
+Specify the full name to be used when creating patches for contributors.
+If omitted the variable C<OPENPKG_NAME> is read from F<~/openpkg/dev.rc>,
+read from environment.
+The default is a guess from querying shell user identification.
+
+=item B<--mail=>I<email>
+
+Specify the full name to be used when creating patches for contributors.
+If omitted the variable C<OPENPKG_MAIL> is read from F<~/openpkg/dev.rc>,
+read from environment.
+The default is a guess from shell login, hostname and domainname.
+
=back
=head1 FILES
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]