Last change
on this file since 34337 was 27722, checked in by ak19, 11 years ago |
The changes from a few commits back that would create symbolic links also need to take mac/darwin into account
|
-
Property svn:executable
set to
*
|
File size:
866 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source devel.bash
|
---|
4 |
|
---|
5 | for 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
|
---|
14 | done
|
---|
15 |
|
---|
16 | if [ ! -d $GEXTIMAGEMAGICK_INSTALLED/script ] ; then
|
---|
17 | echo "Creating 'script' folder in installed area"
|
---|
18 | mkdir $GEXTIMAGEMAGICK_INSTALLED/script
|
---|
19 | fi
|
---|
20 |
|
---|
21 | /bin/cp bin/script/*.sh $GEXTIMAGEMAGICK_INSTALLED/script/.
|
---|
22 |
|
---|
23 |
|
---|
24 | if [ $makedist = "1" ] ; then
|
---|
25 |
|
---|
26 | # fix up symbolic links that use absolute paths to use rel paths instead
|
---|
27 | if [ -d "linux" ] ; then
|
---|
28 | cd linux/bin
|
---|
29 | else
|
---|
30 | cd darwin/bin
|
---|
31 | fi
|
---|
32 | /bin/rm -f bzcmp
|
---|
33 | /bin/rm -f bzegrep
|
---|
34 | /bin/rm -f bzfgrep
|
---|
35 | /bin/rm -f bzless
|
---|
36 | ln -s bzdiff bzcmp
|
---|
37 | ln -s bzgrep bzegrep
|
---|
38 | ln -s bzgrep bzfgrep
|
---|
39 | ln -s bzmore bzless
|
---|
40 | cd ../..
|
---|
41 | default_toplevel_make_dist $GSDLOS
|
---|
42 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.