File tree 4 files changed +10
-13
lines changed
4 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
- source profile
1
+ . profile
3
2
cd $zappy/data
4
- # $gtm
Original file line number Diff line number Diff line change 1
- . profile
2
- cd /$zappy /data
1
+ . /xapi/scripts/ profile
2
+ cd /xapi /data
3
3
$gtmrun ^loadDiff xapiDiff
Original file line number Diff line number Diff line change 1
- zappy=' /home/mdupont/experiments/fosm/pine02 ' ; export zappy
2
- gtm_dist=" /usr/lib/fis- gtm/V5.4-002B_x86 " ; export gtm_dist
1
+ zappy=' /pine01 ' ; export zappy
2
+ gtm_dist=" $zappy / gtm" ; export gtm_dist
3
3
gtmx=" $zappy /gtmx" ; export gtmx
4
4
gtmgbldir=" $zappy /data/xapi_small.gld" ; export gtmgbldir
5
- # gtmroutines="$zappy/scripts/o($zappy/scripts $zappy/serenji $gtmx $gtm_dist)"; export gtmroutines
6
- gtmroutines=" . $zappy /scripts/ $gtmx $gtm_dist " ; export gtmroutines
5
+ gtmroutines=" $zappy /scripts/o($zappy /scripts $zappy /serenji $gtmx $gtm_dist )" ; export gtmroutines
7
6
gtm=" $gtmx /gtmrun ^direct gtm" ; export gtm
8
7
gtmrun=" $gtmx /gtmrun" ; export gtmrun
9
8
mupip=" $gtm_dist /mupip" ; export mupip
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ if ($ENV{'REQUEST_METHOD'} eq 'POST') {
71
71
read (STDIN ,$postData ,$ENV {' CONTENT_LENGTH' });
72
72
$ENV {' POST_DATA' }=$postData ;
73
73
}
74
- # if ($ENV{'REQUEST_METHOD'} eq 'PUT') {
75
- # read(STDIN,$payload,$ENV{'CONTENT_LENGTH'});
76
- # $ENV{'PAYLOAD'}=$payload;
77
- # }
74
+ if ($ENV {' REQUEST_METHOD' } eq ' PUT' ) {
75
+ read (STDIN ,$payload ,$ENV {' CONTENT_LENGTH' });
76
+ $ENV {' PAYLOAD' }=$payload ;
77
+ }
78
78
79
79
# Walk ENV hash and print
80
80
foreach $key (keys %ENV ) {
You can’t perform that action at this time.
0 commit comments