- for i in agl-screenshot-*.png ; do
- #set +x
- echo "################################################################"
- ( curl --upload-file "$i" https://transfer.sh/$(basename "$i") && echo "" ) || true
- echo "################################################################"
- #set -x
+ for i in /home/agl-driver/agl-screenshot-*.png ; do
+ if [ -x ./artiproxy-upload.sh ];then
+ echo "DEBUG: upload screenshot $i"
+ ./artiproxy-upload.sh $i $(basename $i)
+ fi
+set +x