Changeset 23888


Ignore:
Timestamp:
04/10/11 23:20:26 (10 years ago)
Author:
davidb
Message:

Minor tidy-up tweaks to install scripts

Location:
gs3-extensions/i-jetty/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-jetty/trunk/src/JAVA-TO-DEX.sh

    r23882 r23888  
    114114
    115115echo ""
    116 echo "Run ./DEX-INSTALL.sh to install/refresh Greenstone on the Android device"
     116echo "Run ./DEX-TO-SDCARD.sh to install the latest DEX files on the device"
    117117echo ""
  • gs3-extensions/i-jetty/trunk/src/WEBAPP-ROOT-TO-SDCARD.sh

    r23882 r23888  
    3636
    3737
    38 #    | echo /bin/cp -u -v  {} $SDCARD_GSDL3HOME
     38if [ ! -d $SDCARD_GSDL3HOME/sites/localsite ] ; then
     39  echo "Creating 'localsite' in $SDCARD_GSDLHOME"
     40  mkdir $SDCARD_GSDL3HOME/sites/localsite
     41fi
     42
     43/bin/cp -u -v -r sites/without-jni/* $SDCARD_GSDL3HOME/sites/localsite/.
    3944
    4045
    41 ##  /bin/cp -v -r $GSDL3HOME $SDCARD_GSDL3HOME
    4246
    43 #  dirs_without_sites=`ls -dF $GSDL3HOME/* | egrep '/$' | egrep -v '/sites/$'`
    44 #  files_without_sites=`ls -dF $GSDL3HOME/* | egrep -v '/$'`
    45 
    46 #  dirs_without_sites=`find $GSDL3HOME -type -d -print | egrep -v '^sites$' | egrep -v '^\.svn$'`
    47 #  for f in $dirs_without_sites ; do
    48 #    find WEB-INF/classes
    49 #    /bin/cp -u -v -r $GSDL3HOME/$f $SDCARD_GSDL3HOME
    50 #  done
    51 
    52   if [ ! -d $SDCARD_GSDL3HOME/sites/localsite ] ; then
    53     echo "Creating 'localsite' in $SDCARD_GSDLHOME"
    54     mkdir $SDCARD_GSDL3HOME/sites/localsite
    55   fi
    56 
    57   /bin/cp -u -v -r $GSDL3HOME/sites/no-jni/* $SDCARD_GSDL3HOME/sites/localsite/.
    58 
    59 
    60 #  # No need for .svn files
    61 #  find $SDCARD_GSDL3HOME -type d -name ".svn" -exec /bin/rm {} \;
    62 
    63 #  /bin/rm -rf $SDCARD_GSDL3HOME/WEB-INF/classes
    64 
Note: See TracChangeset for help on using the changeset viewer.