aboutsummaryrefslogtreecommitdiffstats
path: root/userdata/conf/lava/upload4lava.sh
blob: e55f00f0f2b478de196ccbbb1da64542e783faeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
#set -x

if test x"" != x"$1"; then

Y=$(echo "$1" | sed -e "s#\.\.##g" -e "s#/##g")

curl -T "$Y" https://porter.automotivelinux.org/porter/upload/jta/$Y --insecure

else

echo "Help: $0 file"

fi