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
a872be35
You need to sign in or sign up before continuing.
Commit
a872be35
authored
Mar 03, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmpub: fix set link last ->
parent
60fa6966
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
rpmpub
bin/rpmpub
+4
-5
No files found.
bin/rpmpub
View file @
a872be35
...
...
@@ -18,7 +18,7 @@ if [ "$1" = "-h" ]; then
echog
"Usage: rpmpub [-r PROJECTVERSION ] [SPEC] [TARGETDIR]"
echog
"Options:"
echog
" -r PROJECTVERSION - set other project version (PROJECTVERSION/sources)"
echog
" TARGETDIR - copy signed src.rpm package to TARGETDIR"
echog
" TARGETDIR - copy signed src.rpm package to TARGETDIR
(f.i., /tmp/some_version/sources)
"
echog
"You can set default target dir in UPLOADDIR variable in config file"
exit
0
fi
...
...
@@ -56,9 +56,8 @@ export ETERDESTSRPM
# just for your information: rpmbs supports ssh-like target
$ETERBUILDBIN
/rpmbs
-s
$SPECNAME
||
fatal
"Can't build SRPMS"
# broken
# if known target and last link already exists
#if
[ -L "$ETERDESTSRPM/../../last" ] ; then
if
[
-n
"
$ALPHA
"
]
&&
[
-L
"
$ETERDESTSRPM
/../../last"
]
;
then
# set last link (assume PROJECT/VERSION/sources dir structure)
# set_last_link $ETERDESTSRPM/.. $(get_version $SPECNAME)
#
fi
set_last_link
$ETERDESTSRPM
/..
"
$ALPHA
"
fi
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