]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix file paths.
authorRudolf Polzer <divVerent@gmail.com>
Thu, 8 Jul 2021 13:47:53 +0000 (06:47 -0700)
committerRudolf Polzer <divVerent@gmail.com>
Thu, 8 Jul 2021 13:47:53 +0000 (06:47 -0700)
.travis-script-xonotic.sh

index 047e89749053b45f7856c72a7e5857805448501a..8ffd76db14ec21b6ca9ce489960de2a068520817 100755 (executable)
@@ -6,14 +6,13 @@ openssl aes-256-cbc -K $encrypted_29b4419ace44_key -iv $encrypted_29b4419ace44_i
 
 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
 
@@ -121,7 +120,7 @@ for os in "$@"; do
     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