source: trunk/dev/bin/script/DEBUG-EXPEDITEE-RECLAIM-DOCUMENTATION.sh@ 986

Last change on this file since 986 was 986, checked in by davidb, 8 years ago

Script for bringing back edited Expeditee documentation framesets into the src/org/expeditee/assets folder

  • Property svn:executable set to *
File size: 1008 bytes
Line 
1#!/bin/bash
2
3if [ "x$expeditee_filespace_home" = "x" ] ; then
4 expeditee_filespace_home="/tmp/expeditee-filespace-home"
5fi
6
7argc=$#
8if [ $argc != 1 ] ; then
9 echo "Usage: DEBUG-EXPEDITEE-RECLAIM-DOCUMENTATION.sh doc-frameset" 1>&2
10 exit
11fi
12
13fset=$1
14
15if [ ! -d "$expeditee_filespace_home/documentation/$fset" ] ; then
16 echo "Error: Failed to find directory '$fset'" 1>&2
17 exit
18fi
19
20
21echo "****"
22
23echo "* Reclaiming document frameset '$fset' from expeditee.home=$expeditee_filespace_home"
24echo " ..."
25
26echo " Copying from: "
27echo " $expeditee_filespace_home/documentation/$fset"
28echo " To:"
29echo " $EXPEDITEE_HOME/src/org/expeditee/assets/resources/documentation/."
30
31/bin/cp -r $expeditee_filespace_home/documentation/$fset \
32 $EXPEDITEE_HOME/src/org/expeditee/assets/resources/documentation/.
33
34echo " ... Done"
35echo "****"
36
37echo ""
38echo "****"
39echo "* Now run:"
40echo "* ant jar"
41echo "* to ensure the new documentation frameset is bundled into Expeditee.jar"
42echo "****"
Note: See TracBrowser for help on using the repository browser.