summaryrefslogtreecommitdiff
path: root/dh_lib
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:41:45 +0000
committerjoey <joey>1999-08-17 04:41:45 +0000
commit94f1df06050aa3c512fd8af6e67690f482fbcd5a (patch)
tree4a9808c892c0a2dd3d480255c5a230d521951a66 /dh_lib
parente742573dc1696f78dacb1cf36827e9a04f6f3514 (diff)
downloaddebhelper-94f1df06050aa3c512fd8af6e67690f482fbcd5a.tar.gz
r45: Initial Import
Diffstat (limited to 'dh_lib')
-rw-r--r--dh_lib12
1 files changed, 11 insertions, 1 deletions
diff --git a/dh_lib b/dh_lib
index 2c2b995f..39dae2a5 100644
--- a/dh_lib
+++ b/dh_lib
@@ -10,6 +10,7 @@ doit() {
eval '$@'
}
+
# This is an identical command to doit, except the parameter passed to it
# are evaled with double quotes. This version can handle compound commands.
complex_doit() {
@@ -52,6 +53,7 @@ pkgext() {
}
# Returns 1 if the package is a native debian package, null otherwise.
+# As a side effect, sets $VERSION to the version of this package.
# Caches return code so it only needs to run dpkg-parsechangelog once.
isnative() {
if [ -z "$DH_ISNATIVE" ]; then
@@ -141,7 +143,7 @@ get_arch_indep_packages() {
# Argument processing and global variable initialization is below.
# Parse command line.
-set -- `getopt xvidrnakp:P:u:m: $*`
+set -- `getopt xvidrnakVAp:P:u:m: $*`
for i; do
case "$i"
@@ -202,6 +204,14 @@ for i; do
shift
shift
;;
+ -V)
+ DH_V_FLAG=1
+ shift
+ ;;
+ -A)
+ DH_PARAMS_ALL=1
+ shift
+ ;;
--)
shift
break