|
@@ -7,7 +7,7 @@ _file="$game/demos/$mvd"
|
|
|
|
|
|
if [ -f "$_file" ]; then
|
|
if [ -f "$_file" ]; then
|
|
# sleep a little, so q2proded has time to finalize the demo file
|
|
# sleep a little, so q2proded has time to finalize the demo file
|
|
- ( sleep 2 ) && ( echo "put $_file" | sftp -q -p someuser@aq2world.com:/demos ) &
|
|
|
|
|
|
+ ( sleep 2 ) && ( echo "put $_file" | sftp -q -o PasswordAuthentication=no -p someuser@aq2world.com:/demos ) &
|
|
else
|
|
else
|
|
echo "$0 Error: '$_file' not found. Not transferring anything. :("
|
|
echo "$0 Error: '$_file' not found. Not transferring anything. :("
|
|
fi
|
|
fi
|