diff options
| author | Selene ToyKeeper | 2023-11-07 11:04:34 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-07 11:04:34 -0700 |
| commit | 96bb6aeb178182c95558c5157b6ddfaecfceb785 (patch) | |
| tree | 6cd898456b8754e60d39f51d98e55b6cb895a01f /bin/flash.sh | |
| parent | Merge branch 'pull15' into trunk (diff) | |
| download | anduril-96bb6aeb178182c95558c5157b6ddfaecfceb785.tar.gz anduril-96bb6aeb178182c95558c5157b6ddfaecfceb785.tar.bz2 anduril-96bb6aeb178182c95558c5157b6ddfaecfceb785.zip | |
shell script cleanup (fix lint warnings, remove unused scripts)
Diffstat (limited to '')
| -rwxr-xr-x | bin/flash.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/flash.sh b/bin/flash.sh index 93fbdbc..a0eafc5 100755 --- a/bin/flash.sh +++ b/bin/flash.sh @@ -11,9 +11,9 @@ fi set -e -BASEDIR=$(dirname "$0") -export ATTINY=$1 ; shift -export PROGRAM=$1 ; shift +BASEDIR="$(dirname "$0")" +export ATTINY="$1" ; shift +export PROGRAM="$1" ; shift if [ ! -f "$PROGRAM" ]; then PROGRAM="$PROGRAM".hex ; fi -$BASEDIR/flash-tiny"$ATTINY"-fuses.sh -$BASEDIR/flash-tiny"$ATTINY".sh "$PROGRAM" +"$BASEDIR"/flash-tiny"$ATTINY"-fuses.sh +"$BASEDIR"/flash-tiny"$ATTINY".sh "$PROGRAM" |
