~ubuntu-branches/debian/sid/eso-midas/sid

« back to all changes in this revision

Viewing changes to .pc/fix_shellscripts.patch/applic/proc/fitcref.sh

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-sl34juxohmn4aty4
Tags: 13.09pl1.2+dfsg-1
Initial release. (Closes: #740702)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# @(#)fitcref.sh        19.1 (ESO-IPG) 02/25/03 13:20:10
 
2
# Shell procedure fitcref.sh 
 
3
# called from fitcref.prg as $fitcref.sh
 
4
# Michele Peron    900215
 
5
# Carlos Guirao    921224
 
6
# Carlos Guirao    000609
 
7
 
 
8
rm -f libfituser.a fitcrea.o fitimag.o funcrea.o makefile.fit
 
9
cp $MID_LIB/libfituser.a .
 
10
cp $MID_FIT/fitcrea.mod fitcrea.o           
 
11
cp $MID_FIT/fitimag.mod fitimag.o
 
12
cp $MID_FIT/funcrea.mod funcrea.o
 
13
cp $MID_FIT/makefile.fit makefile.fit
 
14
 
 
15
IFS="$IFS,"
 
16
set - $1
 
17
while [ $# -gt 0 ]
 
18
do
 
19
  OBJ="$OBJ $1.o"
 
20
  shift
 
21
done
 
22
rm -f $OBJ
 
23
 
 
24
make -i -f makefile.fit OBJ="$OBJ" OUT="fitcrea.exe fitimag.exe funcrea.exe"