Last change
on this file since 302 was
271,
checked in by barrand, 18 years ago
|
|
-
Property svn:executable set to
*
|
File size:
908 bytes
|
Line | |
---|
1 | #!/bin/sh -f |
---|
2 | |
---|
3 | #set -x |
---|
4 | |
---|
5 | obuild_current=`pwd` |
---|
6 | |
---|
7 | obuild_from='="@@absolute_dir@@"' |
---|
8 | |
---|
9 | obuild_to='="'"${obuild_current}"'"' |
---|
10 | |
---|
11 | if test -e aida-setup.sh ; then |
---|
12 | /bin/rm -f obuild_tmp |
---|
13 | sed -e "s#${obuild_from}#${obuild_to}#g" aida-setup.sh > obuild_tmp |
---|
14 | /bin/mv obuild_tmp aida-setup.sh |
---|
15 | /bin/rm -f obuild_tmp |
---|
16 | fi |
---|
17 | |
---|
18 | if test -e aida-setup.csh ; then |
---|
19 | /bin/rm -f obuild_tmp |
---|
20 | sed -e "s#${obuild_from}#${obuild_to}#g" aida-setup.csh > obuild_tmp |
---|
21 | /bin/mv obuild_tmp aida-setup.csh |
---|
22 | /bin/rm -f obuild_tmp |
---|
23 | fi |
---|
24 | |
---|
25 | if test -e setup.sh ; then |
---|
26 | /bin/rm -f obuild_tmp |
---|
27 | sed -e "s#${obuild_from}#${obuild_to}#g" setup.sh > obuild_tmp |
---|
28 | /bin/mv obuild_tmp setup.sh |
---|
29 | /bin/rm -f obuild_tmp |
---|
30 | fi |
---|
31 | |
---|
32 | if test -e setup.csh ; then |
---|
33 | /bin/rm -f obuild_tmp |
---|
34 | sed -e "s#${obuild_from}#${obuild_to}#g" setup.csh > obuild_tmp |
---|
35 | /bin/mv obuild_tmp setup.csh |
---|
36 | /bin/rm -f obuild_tmp |
---|
37 | fi |
---|
38 | |
---|
39 | unset obuild_to |
---|
40 | unset obuild_from |
---|
41 | unset obuild_current |
---|
42 | |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.