Changeset 6fa01a3


Ignore:
Timestamp:
Dec 10, 2011 8:11:21 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
50e3cdb
Parents:
fc7d8f7
Message:

Better command to determine JAVABINARY

Switch to one awk command instead of using grep and cut.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/i2prouter

    rfc7d8f7 r6fa01a3  
    138138
    139139# Workaround for Gentoo
    140 JAVABINARY=`grep ^wrapper\.java\.command $WRAPPER_CONF | cut -f2 -d=`
     140JAVABINARY=$(awk -F'=' '/^ *wrapper\.java\.command/{print $2}' $WRAPPER_CONF)
    141141
    142142if [ -e /etc/gentoo-release ]; then
Note: See TracChangeset for help on using the changeset viewer.