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
e3d2935c
Commit
e3d2935c
authored
Jul 15, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmpub: test for dest
parent
df96b29c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpmpub
bin/rpmpub
+3
-3
No files found.
bin/rpmpub
View file @
e3d2935c
...
@@ -45,7 +45,7 @@ ETERDESTSRPM=$1
...
@@ -45,7 +45,7 @@ ETERDESTSRPM=$1
if
[
-z
"
$ETERDESTSRPM
"
]
;
then
if
[
-z
"
$ETERDESTSRPM
"
]
;
then
ETERDESTSRPM
=
$(
get_etersoft_srpm_path
$SPECNAME
$ALPHA
)
ETERDESTSRPM
=
$(
get_etersoft_srpm_path
$SPECNAME
$ALPHA
)
else
else
fatal
"
run with exists dir to publish src.rpm project (I checked
$ETERDESTSRPM
, it is nonexist)"
test
-d
"
$ETERDESTSRPM
"
||
fatal
"You need
run with exists dir to publish src.rpm project (I checked
$ETERDESTSRPM
, it is nonexist)"
fi
fi
export
ETERDESTSRPM
export
ETERDESTSRPM
...
@@ -53,7 +53,7 @@ export ETERDESTSRPM
...
@@ -53,7 +53,7 @@ export ETERDESTSRPM
$ETERBUILDBIN
/rpmbs
-s
$SPECNAME
||
fatal
"Can't build SRPMS"
$ETERBUILDBIN
/rpmbs
-s
$SPECNAME
||
fatal
"Can't build SRPMS"
# if known target and last link already exists
# if known target and last link already exists
if
[
-L
"
$ETERDESTSRPM
/../last"
]
;
then
#
if [ -L "$ETERDESTSRPM/../last" ] ; then
# set last link (assume PROJECT/VERSION/sources dir structure)
# set last link (assume PROJECT/VERSION/sources dir structure)
set_last_link
$ETERDESTSRPM
/..
$(
get_version
$SPECNAME
)
set_last_link
$ETERDESTSRPM
/..
$(
get_version
$SPECNAME
)
fi
#
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