Skip to content

Instantly share code, notes, and snippets.

@elisam98
Last active January 11, 2018 08:30
Show Gist options
  • Save elisam98/2dfa516c8082abb091c241e7b5a69dc9 to your computer and use it in GitHub Desktop.
Save elisam98/2dfa516c8082abb091c241e7b5a69dc9 to your computer and use it in GitHub Desktop.
#!/bin/bash
DEVICES=(harpia w5 athene potter d2spr osprey)
for i in "${DEVICES[@]}"
do
:
echo $i
cd ~/lineage
repo sync -c
source build/envsetup.sh
make clobber
brunch $i
mv out/target/product/**/lineage-14.1*.zip ~/out
done
@elisam98
Copy link
Author

elisam98 commented Jan 11, 2018

scp out/target/product/**/lineage-14.1*.zip [email protected]:/home/newuser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment