Skip to content

Commit

Permalink
updates from 80n
Browse files Browse the repository at this point in the history
  • Loading branch information
James Michael DuPont authored and James Michael DuPont committed Feb 24, 2012
1 parent 7b28b65 commit 2ab44b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
4 changes: 1 addition & 3 deletions init
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/bash
source profile
. profile
cd $zappy/data
#$gtm
4 changes: 2 additions & 2 deletions loadDiff
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
. profile
cd /$zappy/data
. /xapi/scripts/profile
cd /xapi/data
$gtmrun ^loadDiff xapiDiff
7 changes: 3 additions & 4 deletions profile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
zappy='/home/mdupont/experiments/fosm/pine02' ; export zappy
gtm_dist="/usr/lib/fis-gtm/V5.4-002B_x86"; export gtm_dist
zappy='/pine01' ; export zappy
gtm_dist="$zappy/gtm"; export gtm_dist
gtmx="$zappy/gtmx"; export gtmx
gtmgbldir="$zappy/data/xapi_small.gld"; export gtmgbldir
#gtmroutines="$zappy/scripts/o($zappy/scripts $zappy/serenji $gtmx $gtm_dist)"; export gtmroutines
gtmroutines=". $zappy/scripts/ $gtmx $gtm_dist"; export gtmroutines
gtmroutines="$zappy/scripts/o($zappy/scripts $zappy/serenji $gtmx $gtm_dist)"; export gtmroutines
gtm="$gtmx/gtmrun ^direct gtm"; export gtm
gtmrun="$gtmx/gtmrun" ; export gtmrun
mupip="$gtm_dist/mupip"; export mupip
Expand Down
8 changes: 4 additions & 4 deletions serverLink.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ if ($ENV{'REQUEST_METHOD'} eq 'POST') {
read(STDIN,$postData,$ENV{'CONTENT_LENGTH'});
$ENV{'POST_DATA'}=$postData;
}
#if ($ENV{'REQUEST_METHOD'} eq 'PUT') {
# read(STDIN,$payload,$ENV{'CONTENT_LENGTH'});
# $ENV{'PAYLOAD'}=$payload;
#}
if ($ENV{'REQUEST_METHOD'} eq 'PUT') {
read(STDIN,$payload,$ENV{'CONTENT_LENGTH'});
$ENV{'PAYLOAD'}=$payload;
}

# Walk ENV hash and print
foreach $key (keys %ENV) {
Expand Down

0 comments on commit 2ab44b9

Please sign in to comment.