Had an issue with $f not being subbed for the actual filename in the curl command

This commit is contained in:
Jonny Barnes 2017-02-23 15:06:38 +00:00
parent c75fba471e
commit 9e7b9d806b

View file

@ -2,5 +2,5 @@
for f in tests/Browser/screenshots/*.png
do
curl -F 'upload=@$f' -F 'format=txt' http://uploads.im/api
curl -F "upload=@$f" -F "format=txt" http://uploads.im/api
done