Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
5c77c5d8
Commit
5c77c5d8
authored
Nov 27, 2012
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trackrdrd: re-create the RPM build subdirs before building
parent
38d962de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
build-ci.sh
trackrdrd/build-ci.sh
+7
-0
No files found.
trackrdrd/build-ci.sh
View file @
5c77c5d8
...
...
@@ -32,6 +32,13 @@ make
make check
[[
$?
-ne
0
]]
&&
exit
1
for
DIR
in
BUILD BUILDROOT RPMS SOURCES SRPMS
do
RPMDIR
=
$WORKSPACE
/trackrdrd/rpmbuild/
$DIR
[[
-d
$RPMDIR
]]
&&
rm
-rf
$RPMDIR
mkdir
-p
$RPMDIR
done
VERSION
=
$(
grep
' VERSION '
$WORKSPACE
/trackrdrd/config.h |
sed
's/^.*"\([^"]*\)".*$/\1/'
)
REVISION
=
$(
git show
-s
--pretty
=
format:%h
)
BUILDPATH
=
$WORKSPACE
/trackrdrd/rpmbuild/BUILDROOT/trackrdrd-
$VERSION
-rev
${
REVISION
}
_build
$BUILD_NUMBER
.
$(
uname
-m
)
...
...
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