Changeset 21541


Ignore:
Timestamp:
2010-01-20T14:15:07+13:00 (14 years ago)
Author:
ak19
Message:

Minor change to the script so that fli.sh's call to gli.sh succeeds from whichever directory fli.sh was launched from.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/fli.sh

    r16466 r21541  
    4343echo "FEDORA_HOME: $FEDORA_HOME"
    4444echo "FEDORA_VERSION: $FEDORA_VERSION"
    45 ./gli.sh -fedora -fedora_home "$FEDORA_HOME" -fedora_version "$FEDORA_VERSION" $*
     45
     46# Need to launch the gli.sh script from the same directory that fli was launched,
     47# since that's where we are
     48# substring replacement (match end part of substring): http://tldp.org/LDP/abs/html/string-manipulation.html
     49gliscript=$0
     50gliscript=${0/%fli.sh/gli.sh}
     51#echo "script: $gliscript"
     52./$gliscript -fedora -fedora_home "$FEDORA_HOME" -fedora_version "$FEDORA_VERSION" $*
Note: See TracChangeset for help on using the changeset viewer.