Rev | Line | |
---|
[18425] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | source bin/script/test-setup.bash
|
---|
| 4 | source lib/cascade-lib.bash
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | # Ensure that the necessary directories exist within the 'installed' area
|
---|
| 8 | dirlist="cmdline server"
|
---|
| 9 | if [ -e packages/devel ] ; then
|
---|
| 10 | dirlist="$dirlist devel"
|
---|
| 11 | fi
|
---|
| 12 |
|
---|
| 13 | for d in $dirlist ; do
|
---|
| 14 | if [ ! -e $GEXTVIDEO_INSTALLED/$d ] ; then
|
---|
| 15 | echo "Creating $GEXTVIDEO_INSTALLED/$d"
|
---|
| 16 | mkdir $GEXTVIDEO_INSTALLED/$d
|
---|
| 17 | fi
|
---|
| 18 | done
|
---|
| 19 |
|
---|
| 20 | for d in packages ; do
|
---|
| 21 | echo "Running $d/CASCADE-MAKE.sh $*"
|
---|
| 22 |
|
---|
| 23 | (cd $d ; ./CASCADE-MAKE.sh $*)
|
---|
| 24 |
|
---|
| 25 | if [ $? != 0 ] ; then
|
---|
| 26 | echo "Error encountered running $d/CASCADE-MAKE.sh"
|
---|
| 27 | exit 1
|
---|
| 28 | fi
|
---|
| 29 | done
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | if [ ! -e $GEXTVIDEO_INSTALLED/server/htdocs/gsdl ] ; then
|
---|
| 33 | ( cd $GEXTVIDEO_INSTALLED/server/htdocs/ ; \
|
---|
| 34 | ln -s $GSDLHOME gsdl )
|
---|
| 35 |
|
---|
| 36 | if [ $? != 0 ] ; then
|
---|
| 37 | echo "Error encountered configuring lighttpd server 'htdocs' to have symbolic link to gsdl home"
|
---|
| 38 | echo "Is GSDLHOME set?"
|
---|
| 39 | exit 1
|
---|
| 40 | fi
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.