source: gs2-extensions/imagemagick/trunk/src/CASCADE-MAKE.sh@ 27618

Last change on this file since 27618 was 27618, checked in by ak19, 11 years ago

Dr Bainbridge removed the absolute paths in symbolic links to new bz executables into relative paths

  • Property svn:executable set to *
File size: 809 bytes
Line 
1#!/bin/bash
2
3source devel.bash
4
5for d in packages ; do
6 echo "Running $d/CASCADE-MAKE.sh"
7
8 (cd $d ; ./CASCADE-MAKE.sh $*)
9
10 if [ $? != 0 ] ; then
11 echo "Error encountered running $d/CASCADE-MAKE.sh"
12 exit 1
13 fi
14done
15
16if [ ! -d $GEXTIMAGEMAGICK_INSTALLED/script ] ; then
17 echo "Creating 'script' folder in installed area"
18 mkdir $GEXTIMAGEMAGICK_INSTALLED/script
19fi
20
21/bin/cp bin/script/*.sh $GEXTIMAGEMAGICK_INSTALLED/script/.
22
23
24if [ $makedist = "1" ] ; then
25
26 # fix up symbolic links that use absolute paths to use rel paths instead
27 cd linux/bin
28 /bin/rm -f bzcmp
29 /bin/rm -f bzegrep
30 /bin/rm -f bzfgrep
31 /bin/rm -f bzless
32 ln -s bzdiff bzcmp
33 ln -s bzgrep bzegrep
34 ln -s bzgrep bzfgrep
35 ln -s bzmore bzless
36 cd ../..
37
38 default_toplevel_make_dist $GSDLOS
39fi
Note: See TracBrowser for help on using the repository browser.