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
69d3f90b
Commit
69d3f90b
authored
Mar 12, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmpub: fix support for spec autodetect
parent
ce6755ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
rpmpub
bin/rpmpub
+5
-4
No files found.
bin/rpmpub
View file @
69d3f90b
...
...
@@ -2,7 +2,7 @@
# Script to publish project as src.rpm on project ftp directory
NEEDETERBUILD
=
1
62
NEEDETERBUILD
=
1
79
# You can use this script separately in your project with
#. /usr/share/eterbuild/eterbuild
...
...
@@ -33,19 +33,20 @@ if [ "$1" = "-r" ] ; then
shift
2
fi
if
[
-n
"
${
1
/*.spec/
}
"
]
;
then
if
[
-n
"
${
1
/*.spec/
}
"
]
||
[
-z
"
$1
"
]
;
then
SPECNAME
=
$(
get_gear_spec
)
echo
"Using autodetected spec
$SPECNAME
..."
else
SPECNAME
=
$1
shift
fi
if
[
!
-r
$SPECNAME
]
;
then
if
[
!
-r
"
$SPECNAME
"
]
;
then
fatal
"Spec
$SPECNAME
does not found in the current dir"
fi
#Example: ETERDESTSRPM=/var/ftp/pub/Etersoft/CIFS@Etersoft/$VERSION/sources
ETERDESTSRPM
=
$1
ETERDESTSRPM
=
"
$1
"
if
[
-z
"
$ETERDESTSRPM
"
]
;
then
ETERDESTSRPM
=
$(
get_etersoft_srpm_path
$SPECNAME
"
$ALPHA
"
)
echo
"Prepare src.rpm to
$ETERDESTSRPM
"
...
...
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