set -x
-chmod 0600 id_xonotic
-# ssh-keygen -y -f id_xonotic
+chmod 0600 /tmp/id_xonotic
export USRLOCAL="$PWD"/usrlocal
rev=`git rev-parse HEAD`
-sftp -oStrictHostKeyChecking=no -i id_xonotic -P 2342 -b - autobuild-bin-uploader@srv04.xonotic.org <<EOF || true
+sftp -oStrictHostKeyChecking=no -i /tmp/id_xonotic -P 2342 -b - autobuild-bin-uploader@srv04.xonotic.org <<EOF || true
mkdir ${rev}
EOF
for o in $outputs; do
src=${o%%:*}
dst=${o#*:}
- sftp -oStrictHostKeyChecking=no -i id_xonotic -P 2342 -b - autobuild-bin-uploader@srv04.xonotic.org <<EOF
+ sftp -oStrictHostKeyChecking=no -i /tmp/id_xonotic -P 2342 -b - autobuild-bin-uploader@srv04.xonotic.org <<EOF
put ${src} ${rev}/${dst}
EOF
done