Changeset 22253 for gs2-extensions/video


Ignore:
Timestamp:
2010-06-10T23:10:50+12:00 (14 years ago)
Author:
davidb
Message:

Better handling of home directory and extension name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video/trunk/setup.bash

    r21173 r22253  
    11
    22extdesc="the Video Extension"
     3
     4full_setup=`pwd`/${BASH_SOURCE}
     5fulldir=${full_setup%/*}
    36
    47source cascade-make/lib/cascade-lib.bash
    58
    69if [ "x$GEXTVIDEO" = "x" ] ; then
    7   export GEXTVIDEO=`pwd`
     10  export GEXTVIDEO=$fulldir
    811  export GEXTVIDEO_INSTALLED=$GEXTVIDEO/$GSDLOS
    912
     
    2629  fi
    2730
     31 
     32  extdir=${GEXTVIDEO##*/}
     33
    2834  if [ "x$GSDLEXTS" = "x" ] ; then
    29     export GSDLEXTS=video
     35    export GSDLEXTS=$extdir
    3036  else
    31     export GSDLEXTS=$GSDLEXTS:video
     37    export GSDLEXTS=$GSDLEXTS:extdir
    3238  fi
    3339
Note: See TracChangeset for help on using the changeset viewer.