git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd93fb
)
JAL-3907 added creation of symbolic links to workaround an install4j9 problem with...
author
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 1 Nov 2021 17:31:34 +0000
(17:31 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 1 Nov 2021 17:31:34 +0000
(17:31 +0000)
utils/download_jres.sh
patch
|
blob
|
history
diff --git
a/utils/download_jres.sh
b/utils/download_jres.sh
index
5aa4b57
..
8029e82
100755
(executable)
--- a/
utils/download_jres.sh
+++ b/
utils/download_jres.sh
@@
-100,6
+100,10
@@
for FEATURE_VERSION in 8 11 17; do
echo "Creating ${NAME}.${EXT} for install4j bundling"
[ \! -d ${ARCHIVEDIR} ] && mkdir -p "${ARCHIVEDIR}"
$TAR -C "${JREDIR}" -zcf "${ARCHIVEDIR}/${NAME}.${EXT}" .
+ # make symbolic link with _ instead of - for install4j9
+ NEWNAME=${NAME//-/_}
+ echo "Linking from ${NEWNAME}.${EXT} for install4j9"
+ ln -s "${NAME}.${EXT}" "${ARCHIVEDIR}/${NEWNAME}.${EXT}"
;;
*)
echo "Archiving as '${CREATEARCHIVE}' file not supported"