Fix pipe typo bug.

remotes/origin/4.2
Darko Poljak 9 years ago
parent 5127bc2ef7
commit 9256aa8d58
  1. 2
      bin/build-helper
  2. 2
      bin/build-helper.freebsd

@ -214,7 +214,7 @@ eof
# get release ID # get release ID
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \ repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \ | python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|| exit 1 || exit 1
curl -H "Authorization: token ${token}" \ curl -H "Authorization: token ${token}" \

@ -249,7 +249,7 @@ eof
# get release ID # get release ID
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \ repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \ | python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|| exit 1 || exit 1
curl -H "Authorization: token ${token}" \ curl -H "Authorization: token ${token}" \

Loading…
Cancel
Save