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
4a7662b9
Commit
4a7662b9
authored
Nov 30, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmpub: fix new creating
parent
bc0f949f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
rpmpub
bin/rpmpub
+2
-1
No files found.
bin/rpmpub
View file @
4a7662b9
...
...
@@ -81,7 +81,6 @@ if [ -n "$ETERDESTSRPM" ] && ! rhas "$ETERDESTSRPM" "/sources" ; then
ETERDESTSRPM
=
$ETERDESTSRPM
/sources
fi
[
-d
"
$ETERDESTSRPM
"
]
||
fatal
"You need run with exists dir to publish src.rpm project (I have checked
$ETERDESTSRPM
, it does not exist)"
echo
"Prepare src.rpm to
$ETERDESTSRPM
"
export
ETERDESTSRPM
...
...
@@ -96,6 +95,8 @@ if [ -n "$ALPHA" ] && [ ! -d "$ETERDESTSRPM" ] && [ -d "$PREVPATH" ] ; then
find
-H
"
$NEXTPATH
"
!
-group
"
$NAME_GR
"
-print0
| xargs
-0
--no-run-if-empty
chgrp
-v
$NAME_GR
find
-H
"
$NEXTPATH
"
!
-perm
0664
-type
f
-print0
| xargs
-0
--no-run-if-empty
chmod
-v
0664
find
-H
"
$NEXTPATH
"
!
-perm
02775
-type
d
-print0
| xargs
-0
--no-run-if-empty
chmod
-v
02775
else
[
-d
"
$ETERDESTSRPM
"
]
||
fatal
"You need run with exists dir to publish src.rpm project (I have checked
$ETERDESTSRPM
, it does not exist)"
fi
# just for your information: rpmbs supports ssh-like target
...
...
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