diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-06-05 16:28:43 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-06-05 16:32:45 +0200 |
commit | b600be5204e995ae54e7745015299fd2825fe6ad (patch) | |
tree | 36caa8cb52cbd0ec0ad6d813d2e1d9fb0423818a /campusconnect | |
parent | 875f51d69e7b1e7668f89e4dd016dff178c73bda (diff) | |
download | ecs2-b600be5204e995ae54e7745015299fd2825fe6ad.tar.gz ecs2-b600be5204e995ae54e7745015299fd2825fe6ad.zip |
Fixing lsfproxy.sh
Fixing typo in curl call (--cacert).
Print http header when calling curl (-i).
Diffstat (limited to 'campusconnect')
-rwxr-xr-x | campusconnect/scripts/lsfproxy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/campusconnect/scripts/lsfproxy.sh b/campusconnect/scripts/lsfproxy.sh index 0ad0b63..1e8a5fe 100755 --- a/campusconnect/scripts/lsfproxy.sh +++ b/campusconnect/scripts/lsfproxy.sh @@ -42,7 +42,7 @@ COURSES= COURSE_MEMBERS= MEMBERSHIPS= TREES= -CURL_OPTIONS= +CURL_OPTIONS="-i" ### ### Usage @@ -197,7 +197,7 @@ else echo "ERROR: Invalid resource id" exit 99 else - curl $CURL_OPTIONS -cacert $CACERT --cert $CERT --key $KEY --pass $PASS \ + curl $CURL_OPTIONS --cacert $CACERT --cert $CERT --key $KEY --pass $PASS \ -X GET $url fi fi |