Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
11b6e225
Commit
11b6e225
authored
Feb 05, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: cleanup, no use too more tabs
parent
26a132a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
rpmbph
bin/rpmbph
+6
-7
No files found.
bin/rpmbph
View file @
11b6e225
...
@@ -313,11 +313,11 @@ fi
...
@@ -313,11 +313,11 @@ fi
[
-n
"
$NOBUILD
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbs --rmsource --rmspec"
[
-n
"
$NOBUILD
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbs --rmsource --rmspec"
[
-z
"
$BUILDCOMMAND
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbsh
$GIRARHOST
"
[
-z
"
$BUILDCOMMAND
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbsh
$GIRARHOST
"
if
[
"
$VENDOR
"
=
"alt"
]
;
then
# set SPECDIR from LISTNAMES if empty
# run inside gear repo, just create backported spec
[
-n
"
$SPECDIR
"
]
||
set_specdir
$LISTNAMES
# set SPECDIR from LISTNAMES if empty
[
-n
"
$SPECDIR
"
]
||
set_specdir
$LISTNAMES
# if run for ALT inside gear repo, just create backported spec
if
is_gear
$SPECDIR
;
then
if
[
"
$VENDOR
"
=
"alt"
]
&&
is_gear
$SPECDIR
;
then
[
-f
"
$LISTNAMES
"
]
||
fatal
"Run with one spec inside gear repo"
[
-f
"
$LISTNAMES
"
]
||
fatal
"Run with one spec inside gear repo"
USEBRANCH
=
$MDISTR
USEBRANCH
=
$MDISTR
SPEC
=
$LISTNAMES
SPEC
=
$LISTNAMES
...
@@ -368,11 +368,10 @@ if [ "$VENDOR" = "alt" ] ; then
...
@@ -368,11 +368,10 @@ if [ "$VENDOR" = "alt" ] ; then
#git checkout $CURBRANCH
#git checkout $CURBRANCH
fatal
"Commit error. You are still in
$MDISTR
branch with modified and uncommitted spec"
fatal
"Commit error. You are still in
$MDISTR
branch with modified and uncommitted spec"
fi
fi
[
-n
"
$NOBUILD
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbs
"
[
-n
"
$NOBUILD
"
]
&&
BUILDCOMMAND
=
"
$ETERBUILDBIN
/rpmbs
$GIRARHOST
"
$BUILDCOMMAND
$LISTRPMARGS
$REMOTEBUILD
$DISTRARG
$SPEC
||
{
git checkout
$CURBRANCH
;
fatal
"Can't build"
;
}
$BUILDCOMMAND
$LISTRPMARGS
$REMOTEBUILD
$DISTRARG
$SPEC
||
{
git checkout
$CURBRANCH
;
fatal
"Can't build"
;
}
git checkout
$CURBRANCH
git checkout
$CURBRANCH
exit
$?
exit
$?
fi
fi
fi
unset
MENV MENVARG
unset
MENV MENVARG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment