Point to /srv/git/repositories as this is both backward and forward compatible
And adjust the documentation to mkbranch
This commit is contained in:
parent
705d5df833
commit
e5fa3f7374
2 changed files with 3 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
# Figure out the environment we're running in
|
# Figure out the environment we're running in
|
||||||
RUNDIR=$(cd $(dirname $0) && pwd)
|
RUNDIR=$(cd $(dirname $0) && pwd)
|
||||||
GITROOT=/srv/git/rpms
|
GITROOT=/srv/git/repositories
|
||||||
|
|
||||||
# check if a moron is driving me
|
# check if a moron is driving me
|
||||||
if [ ! -d $GITROOT ] ; then
|
if [ ! -d $GITROOT ] ; then
|
||||||
|
@ -41,9 +41,8 @@ Usage:
|
||||||
The /master suffix on branch names is assumed.
|
The /master suffix on branch names is assumed.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
/master suffix on other branches assumed
|
|
||||||
-n,--test Don't do nothing, only test
|
-n,--test Don't do nothing, only test
|
||||||
-i,--ignore Ignore erroneous modules
|
-i,--ignore Ignore erroneous modules
|
||||||
-h,--help This help message
|
-h,--help This help message
|
||||||
-v,--verbose Increase verbosity
|
-v,--verbose Increase verbosity
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
|
|
||||||
# Figure out the environment we're running in
|
# Figure out the environment we're running in
|
||||||
GITROOT=/srv/git/rpms
|
GITROOT=/srv/git/repositories
|
||||||
|
|
||||||
# check if a moron is driving me
|
# check if a moron is driving me
|
||||||
if [ ! -d $GITROOT ] ; then
|
if [ ! -d $GITROOT ] ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue