Select Git revision
build_otaconf_gateway.sh 347 B
#!/bin/bash
name="../otaconf-gateway.tapp"
app="src/otaconf/gateway-node/autoexec.be"
module1="src/otaconf/otaconf.be"
# module2="src/mesh.be"
build="build"
temp="build/temp"
mkdir "$build"
mkdir "$temp"
cp "$app" "$temp"
cp "$module1" "$temp"
# cp "$module2" "$temp"
rm -rf "$name"
cd "$temp"
zip -0 -r "$name" .
cd "../.."
rm -rf "$temp"