Allow setting curl options in environment variable (#455)

This commit is contained in:
Jesse Peterson
2018-07-12 04:35:42 -07:00
committed by Victor Vrantchan
parent 9f60f7baca
commit 8f5838ceea
20 changed files with 20 additions and 20 deletions

View File

@@ -2,4 +2,4 @@
source $MICROMDM_ENV_PATH
endpoint="push"
curl -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint/$1"
curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint/$1"