12345678910111213141516171819 |
- #!/bin/bash
- BASE=$(pwd)
- mkdir $BASE/scripts/tmp
- cd $BASE/scripts
- if [ $# -eq 0 ]
- then
- for example in $(ls $BASE/examples); do
- $BASE/scripts/build-example $example
- done;
- else
- for example in $*; do
- $BASE/scripts/build-example $example
- done;
- fi
- rm -rf $BASE/scripts/tmp
|