Changeset 19566

Show
Ignore:
Timestamp:
22.05.2009 16:22:53 (10 years ago)
Author:
oranfry
Message:

setup.sh is not reserved after all, it was just that another setup.sh was on the path meaning 'source setup.sh' ran that one

Location:
release-kits
Files:
3 added
4 modified
4 moved

Legend:

Unmodified
Added
Removed
  • release-kits/cdrk2

    • Property svn:externals
      •  

        old new  
        11core http://svn.greenstone.org/release-kits/shared/core 
        22linux http://svn.greenstone.org/release-kits/shared/linux 
         3windows http://svn.greenstone.org/release-kits/shared/windows 
        34greenstone2 http://svn.greenstone.org/release-kits/shared/greenstone2 
  • release-kits/cdrk2/ant-scripts/build.xml

    r19398 r19566  
    125125 
    126126    <target name="get-documented-examples"> 
     127        <!-- create Document Examples folder --> 
     128        <delete dir="cdrom/Documented Examples"/> 
     129        <copy toDir="cdrom"><fileset dir="${cdrk2.home}/resources/Documented Examples"/></copy> 
     130 
     131        <!-- download and insert the documented examples --> 
    127132        <mkdir dir="archives"/> 
    128133        <get src="${software.archive.documented-examples}" dest="archives/documented-examples.tar.gz"/> 
    129         <untar src="archives/documented-examples.tar.gz" dest="cdrom" compression="gzip" overwrite="true"/> 
     134        <untar src="archives/documented-examples.tar.gz" dest="cdrom/Documented Examples" compression="gzip" overwrite="true"/> 
    130135    </target> 
    131136 
     
    156161        <antcall target="insert-software-linux"/> 
    157162        <antcall target="insert-software-windows"/> 
    158 <!-- 
    159163        <antcall target="insert-software-mac"/> 
    160 --> 
    161164    </target> 
    162165 
    163166    <target name="insert-software-linux"> 
    164         <mkdir dir="cdrom/Software"/> 
     167        <mkdir dir="cdrom"/> 
    165168        <mkdir dir="archives"/> 
    166169        <get src="${software.archive.linux}" dest="archives/linux.tar.gz"/> 
    167         <untar src="archives/linux.tar.gz" dest="cdrom/Software" compression="gzip" overwrite="true"/> 
     170        <untar src="archives/linux.tar.gz" dest="cdrom" compression="gzip" overwrite="true"/> 
    168171    </target> 
    169172 
    170173    <target name="insert-software-windows"> 
    171         <mkdir dir="cdrom/Software"/> 
     174        <mkdir dir="cdrom"/> 
    172175        <mkdir dir="archives"/> 
    173176        <get src="${software.archive.windows}" dest="archives/windows.tar.gz"/> 
    174         <untar src="archives/windows.tar.gz" dest="cdrom/Software" compression="gzip" overwrite="true"/> 
     177        <untar src="archives/windows.tar.gz" dest="cdrom" compression="gzip" overwrite="true"/> 
     178    </target> 
     179 
     180    <target name="insert-software-mac"> 
     181        <mkdir dir="cdrom"/> 
     182        <mkdir dir="archives"/> 
     183        <get src="${software.archive.mac}" dest="archives/mac.tar.gz"/> 
     184        <untar src="archives/mac.tar.gz" dest="cdrom" compression="gzip" overwrite="true"/> 
    175185    </target> 
    176186 
  • release-kits/derk/ant-scripts/build.xml

    r19131 r19566  
    7272    <target name="create-archives"> 
    7373        <mkdir dir="products"/> 
    74         <zip destfile="products/Greenstone-documented-examples-${version}.zip" basedir="${basedir}" includes="documented-examples/**/*"/> 
     74        <zip destfile="products/Greenstone-documented-examples-${version}.zip"  basedir="." includes="documented-examples/**/*"/> 
    7575        <exec executable="tar"> 
    7676            <arg line="-czf products/Greenstone-documented-examples-${version}.tar.gz documented-examples"/> 
  • release-kits/lirk2/setup.sh

    r19556 r19566  
    22    echo "lirk2 envorinment already set up" 
    33else 
    4     home_possibly_relative=`dirname ${BASH_SOURCE:-$0}` 
     4    home_possibly_relative=`dirname ${BASH_SOURCE[0]}` 
    55    export LIRK2_HOME="`cd $home_possibly_relative && pwd`" 
    66    export PATH=$LIRK2_HOME/bin:$PATH 
    7     echo "Done" 
    87fi 
    98 
  • release-kits/lirk3/setup.sh

    r19556 r19566  
    55    export LIRK3_HOME="`cd $home_possibly_relative && pwd`" 
    66    export PATH=$LIRK3_HOME/bin:$PATH 
    7     echo "Done" 
    87fi 
    98 
  • release-kits/mark2/setup.sh

    r19556 r19566  
    55    export MARK2_HOME="`cd $home_possibly_relative && pwd`" 
    66    export PATH=$MARK2_HOME/bin:$PATH 
    7     echo "Done" 
    87fi 
    98 
  • release-kits/mark3/setup.sh

    r19556 r19566  
    55    export MARK3_HOME="`cd $home_possibly_relative && pwd`" 
    66    export PATH=$MARK3_HOME/bin:$PATH 
    7     echo "Done" 
    87fi 
    98 
  • release-kits/sork2/ant-scripts/build.xml

    r19459 r19566  
    6464    <target name="create-archives"> 
    6565        <mkdir dir="products"/> 
     66        <delete file="products/Greenstone-${version}-source-distribution.zip"/> 
     67        <zip destfile="products/Greenstone-${version}-source-distribution.zip"  basedir="distributions" includes="Greenstone-${version}-source-distribution/**/*"/> 
    6668        <exec dir="distributions" executable="tar"> 
    6769            <arg line="-czf ../products/Greenstone-${version}-source-distribution.tar.gz Greenstone-${version}-source-distribution"/> 
     
    121123        <delete file="distributions/Greenstone-${version}-source-component/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/> 
    122124 
    123         <!-- tar it up --> 
     125        <!-- archive it --> 
     126        <delete file="products/Greenstone-${version}-source-component.zip"/> 
     127        <zip destfile="products/Greenstone-${version}-source-component.zip"  basedir="distributions" includes="Greenstone-${version}-source-component/**/*"/> 
    124128        <exec dir="distributions" executable="tar"> 
    125129            <arg line="-czf ../products/Greenstone-${version}-source-component.tar.gz Greenstone-${version}-source-component"/>