mkupdate: Set update folder according to vendor.

This commit is contained in:
Tiago Marques 2017-06-29 16:41:38 +01:00
parent fa4d1cf7f5
commit 8b15f2d169

View File

@ -24,12 +24,12 @@
update_tool()
{
rsync -v "$1" root@"$2":/opt/lsts/glued/
rsync -v "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi
scp "$1" root@"$2":/opt/lsts/glued/
scp "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi