summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-01-30 15:40:39 -0700
committerJesse Keating <jkeating@redhat.com>2011-01-30 15:48:50 -0700
commitcda6081ad56a792fd116ec2350653b3e0ede3ea9 (patch)
treeeb6c10dc2a3a1cc0066e31e4d8bdd2fbf97f56a7 /src/fedpkg.bash
parenta13b9ac7617e43a0e9f685cec994bc8ec750b75d (diff)
downloadfedora-packager-cda6081ad56a792fd116ec2350653b3e0ede3ea9.tar.gz
fedora-packager-cda6081ad56a792fd116ec2350653b3e0ede3ea9.tar.xz
fedora-packager-cda6081ad56a792fd116ec2350653b3e0ede3ea9.zip
Add an argument to override the "distribution"
This allows developers to force fedpkg into not discovering the distribution based on branch name, and instead just take what the developer says it is.
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r--src/fedpkg.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index 117bd23..90cb2ac 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -34,7 +34,7 @@ _fedpkg()
# global options
local options="--help -v -q"
- local options_value="--user --path"
+ local options_value="--dist --user --path"
local commands="build chain-build ci clean clog clone co commit compile diff gimmespec giturl help \
import install lint local mockbuild new new-sources patch prep pull push retire scratch-build sources \
srpm switch-branch tag tag-request unused-patches update upload verrel"
@@ -71,6 +71,8 @@ _fedpkg()
fi
case "$prev" in
+ --dist)
+ ;;
--user|-u)
;;
--path)