Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
javatools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
javatools
Commits
d3fb8a90
Unverified
Commit
d3fb8a90
authored
6 years ago
by
Niels Thykier
Browse files
Options
Downloads
Patches
Plain Diff
jh_installlibs: Avoid duplicate upstream version in filename
Signed-off-by:
Niels Thykier
<
niels@thykier.net
>
parent
faded9b2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+2
-0
2 additions, 0 deletions
debian/changelog
jh_installlibs
+2
-1
2 additions, 1 deletion
jh_installlibs
with
4 additions
and
1 deletion
debian/changelog
+
2
−
0
View file @
d3fb8a90
...
...
@@ -5,6 +5,8 @@ javatools (0.66) UNRELEASED; urgency=medium
unintentionally lost in the "shell -> perl" rewrite of
jh_installibs.
* jh_exec: Fix missing guard to skip directories that do not exist.
* jh_installlibs: Avoid duplicated upstream version in file name
like the original version of jh_installlibs did.
-- Niels Thykier <niels@thykier.net> Tue, 18 Sep 2018 17:24:59 +0000
...
...
This diff is collapsed.
Click to expand it.
jh_installlibs
+
2
−
1
View file @
d3fb8a90
...
...
@@ -118,7 +118,8 @@ sub process_jars {
for
my
$jar
(
@jars
)
{
my
$basename
=
basename
(
$jar
);
$basename
=~
s/[.]jar$//
;
# Strip trailing -<VERSION>.jar or .jar
$basename
=~
s/(?:-\Q${UPSTREAM_VERSION}\E)?[.]jar$//
;
install_dir
("
${tmpdir}
/usr/share/java
");
install_file
(
$jar
,
"
${tmpdir}
/usr/share/java/
${basename}
-
${UPSTREAM_VERSION}
.jar
");
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment