Skip to content
Snippets Groups Projects
Commit abd50d7a authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

rm build-ar71xx-generic.sh

parent 603e513b
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#https://stackoverflow.com/questions/2870992/automatic-exit-from-bash-shell-script-on-error
set -e
GLUON_BRANCH="$1"
GLUON_VERSION="$2"
# Make Folder site
mkdir site
# Move Files into site folder
mv i18n/ site/
mv modules site/
mv site.conf site/
mv site.mk site/
mv .git site/
# Clone Gluon repo
git clone https://github.com/freifunk-gluon/gluon.git ./gluon -b $GLUON_VERSION
mv gluon/* ./
make update || exit 1
make GLUON_TARGET=ar71xx-generic || exit 1
make manifest GLUON_BRANCH=$GLUON_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment