aboutsummaryrefslogtreecommitdiff
path: root/campusconnect
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2012-06-05 16:28:43 +0200
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2012-06-05 16:32:45 +0200
commitb600be5204e995ae54e7745015299fd2825fe6ad (patch)
tree36caa8cb52cbd0ec0ad6d813d2e1d9fb0423818a /campusconnect
parent875f51d69e7b1e7668f89e4dd016dff178c73bda (diff)
downloadecs2-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-xcampusconnect/scripts/lsfproxy.sh4
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