root/gs2-extensions/afrepo/trunk/src/AFR-README.sh @ 27342

Revision 27342, 0.6 KB (checked in by davidb, 7 years ago)

Script that generates README information, with '@xxx@' place holders resolved

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3
4if [ "x$GEXTAMP_INSTALLED" = "x" ] ; then
5  echo "Environment variable GEXTAMP_INSTALLED not set" >&2
6  echo "Have you sourced the extensions setup file?" >&2
7  exit
8fi
9
10
11if [ "x$GEXT_AFREPO" = "x" ] ; then
12  echo "Environment variable GEXT_AFREPO not set" >&2
13  echo "Have you sourced the extensions setup file?" >&2
14  exit
15fi
16
17source $GEXT_AFREPO/AFR-SETUP.sh
18
19echo "*** port = $port"
20
21cat $GEXT_AFREPO/src/DONE.txt \
22  | sed "s%@GEXTAMP_INSTALLED@%$GEXTAMP_INSTALLED%g" \
23  | sed "s%@4store-port@%$f4store_port%g" \
24  | sed "s%@afrepo-http-prefix@%$protocol://$hostname:$port%g"
25
Note: See TracBrowser for help on using the browser.