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
c6eccbe7
Commit
c6eccbe7
authored
Jul 21, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runinhsh: update for p8
parent
58b07d08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
runinhsh
bin/runinhsh
+16
-4
No files found.
bin/runinhsh
View file @
c6eccbe7
...
...
@@ -15,20 +15,32 @@ fi
PLATFORM
=
# firefox plugin hack
PLUGINJAVA
=
mozilla-plugin-java-1.7.0-openjdk
PLUGINJAVA
=
mozilla-plugin-java-1.8.0-openjdk
# mozilla-plugin-java-1.7.0-openjdk
if
[
"
$1
"
=
"-b"
]
;
then
PLATFORM
=
"-b
$2
"
PLUGINJAVA
=
mozilla-plugin-java-1.6.0-sun
case
"
$2
"
in
p6|p7
)
PLUGINJAVA
=
mozilla-plugin-java-1.6.0-sun
;;
*
)
# use default
;;
esac
shift
2
fi
# TODO --short
#PACKAGE=$(epmqf --quiet --short "$1")
COMMAND
=
"
$1
"
PACKAGE
=
$(
epmqf
--quiet
"
$COMMAND
"
| epm print name
for
package
)
PACKAGE
=
$(
epmqf
--quiet
"
$COMMAND
"
2>/dev/null
)
if
[
-n
"
$PACKAGE
"
]
;
then
PACKAGE
=
$(
echo
"
$PACKAGE
"
| epm print name
for
package
)
fi
[
-n
"
$PACKAGE
"
]
||
PACKAGE
=
"
$COMMAND
"
case
$PACKAGE
in
firefox
)
firefox
*
)
PACKAGE
=
"
$PACKAGE
$PLUGINJAVA
"
;;
""
)
...
...
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