Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
9d7aec27
Commit
9d7aec27
authored
Mar 08, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be pedantic about which field we read from ./configure --version
parent
f100691c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package-deb
package-deb
+1
-1
package-rpm
package-rpm
+1
-1
No files found.
package-deb
View file @
9d7aec27
...
...
@@ -28,7 +28,7 @@ tar xf "$SOURCE"
DIST_DIR
=
$(
ls
)
VERSION
=
$(
"
$DIST_DIR
"
/configure
--version
|
awk
'NR == 1 {print $
3
}'
)
VERSION
=
$(
"
$DIST_DIR
"
/configure
--version
|
awk
'NR == 1 {print $
NF
}'
)
MAJOR
=
${
VERSION
%.*
}
MINOR
=
${
VERSION
##*.
}
MINOR
=
${
MINOR
%%-*
}
...
...
package-rpm
View file @
9d7aec27
...
...
@@ -20,7 +20,7 @@ tar xf "$SOURCE"
DIST_DIR
=
$(
ls
)
VERSION
=
$(
"
$DIST_DIR
"
/configure
--version
|
awk
'NR == 1 {print $
3
}'
)
VERSION
=
$(
"
$DIST_DIR
"
/configure
--version
|
awk
'NR == 1 {print $
NF
}'
)
MAJOR
=
${
VERSION
%.*
}
MINOR
=
${
VERSION
##*.
}
MINOR
=
${
MINOR
%%-*
}
...
...
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