source: other-projects/expeditee-release-kits/create-expeditee.sh@ 30387

Last change on this file since 30387 was 30387, checked in by ak19, 8 years ago

First step in creating nightly scripts for generating expeditee nightly binaries on Mac/Linux. Currently being tested on mac, fails on expeditee svn URL.

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3currentdir=`pwd`
4
5
6if ! test -f "$currentdir/expeditee-release-kits/rke-setup.sh"; then
7 echo ""
8 echo "********************"
9 echo "First edit $currentdir/expeditee-release-kits/rke-setup.sh.in"
10 echo "to generate $currentdir/expeditee-release-kits/rke-setup.sh"
11 echo ""
12 echo "********************"
13 echo ""
14 exit -1
15else
16 # rke-setup uses local paths, so cd into expeditee-release-kits first
17 # then call rke-setup.sh to source the environment vars it sets
18 pushd "$currentdir/expeditee-release-kits"
19 source "rke-setup.sh"
20 returnval=$?
21 if [ "$returnval" != "0" ]; then
22 echo "Error running rke-setup.sh, return value: $returnval"
23 popd
24 exit -2
25 else
26 popd
27
28 # Make sure the expeditee folder and its rke-build.properties file exist
29 # then run the 'rke' command from snapshots\expeditee
30 pushd "$currentdir/snapshots"
31 if ! test -d expeditee; then
32 mkdir expeditee
33 fi
34 if ! test -f expeditee/rke-build.properties; then
35 cp $currentdir/expeditee-release-kits/rke-build.properties.in expeditee/rke-build.properties
36 fi
37 pushd expeditee
38 rke
39 exit 0
40 fi
41fi
Note: See TracBrowser for help on using the repository browser.