Fix local variable error for generate_tarballs

This commit is contained in:
Jonas Höglund 2016-08-19 17:48:59 +02:00
parent a370fb835e
commit 1968e16cbf

View file

@ -1,7 +1,5 @@
#!/bin/sh
local SERVER="god@software.inteno.se"
local PATH="/var/www/html/iopsys/consumer"
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith
@ -71,6 +69,9 @@ build_ice_consumer() {
function generate_tarballs {
local SERVER="god@software.inteno.se"
local PATH="/var/www/html/iopsys/consumer"
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')