]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Start removing select Linux-isms
authorDan McGregor <dan.mcgregor@usask.ca>
Mon, 10 Aug 2015 20:49:46 +0000 (14:49 -0600)
committerDan McGregor <dan.mcgregor@usask.ca>
Tue, 20 Oct 2015 14:48:59 +0000 (08:48 -0600)
bash might not be in /bin. Don't expect it there.

17 files changed:
Bootloader/Scripts/easyMode.bash
Bootloader/Scripts/generateManufacturingImage.bash
Bootloader/Scripts/ledTest.bash
Bootloader/Scripts/swdLoad.bash
Keyboards/cmake.bash
Keyboards/ergodox.bash
Keyboards/infinity.bash
Keyboards/template.bash
Keyboards/whitefox.bash
Lib/CMake/sizeCalculator
Lib/CMake/writer
LoadFile/load.dfu
LoadFile/load.teensy
LoadFile/winload.teensy
Scan/ISSILed/exampleAPI.bash
Scan/STLcd/exampleAPI.bash
buildall.bash

index 65b484817121ad002d8af62ba29166e46f668801..ece0b53b3305c5675dd7f43445a12f6cbeea5ba3 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Just in case there was an extra ledTest.bash (don't care if error)
 rm /dev/ttyACM0
 
 # Just in case there was an extra ledTest.bash (don't care if error)
 rm /dev/ttyACM0
index ef46e2dcec49217f3d6422671d2d1dc2c80de21b..455e57041f08771eb3d417c907d64466c411c506 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Combines a given bootloader image and firmware image into a single firmware binary
 # Manufacturing deliverable
 
 # Combines a given bootloader image and firmware image into a single firmware binary
 # Manufacturing deliverable
 
index 07aa9d83c67aef1604cca92f5b4f61a87d83fb69..9c8565ff927d4c70aac5ad1c801be89e27ffc13b 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 printf "led\r" > /dev/ttyACM0
 
 
 printf "led\r" > /dev/ttyACM0
 
index 12b1e9badebe39f92b1a20336482b6972a064f25..6c333bf15a329826133d6df5e1fbdc46cd38bcf4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Loads firmware image using an SWD Flasher
 # Uses MCHCK ruby flasher toolchain
 # NOTE: Only tested with a buspirate on Linux
 # Loads firmware image using an SWD Flasher
 # Uses MCHCK ruby flasher toolchain
 # NOTE: Only tested with a buspirate on Linux
index 3a1b6e49be1417c95f86fd796309ac67adc925a4..9587abe062a1daef7e6cb93ef606d79bc4664b1c 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This is bash lib file for the convenience build scripts
 # Don't call this script directly
 # Jacob Alexander 2015
 # This is bash lib file for the convenience build scripts
 # Don't call this script directly
 # Jacob Alexander 2015
index b07eb1643e404d5f803b7d6fd3b07f025011668d..85f85a214b95ea3adb045891990266fdfafc141c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
index bc3c0acb7a3b5b96eadc58056d245be569e9a6e5..b790dd5f9fa5c27e04e01bebc6db301484e4d40f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
index b1e876f4d0cc8ea6370d5244f7d564c3f0446842..c5227268362556200e38abdbe30b6983a8d73589 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
index c5ff83581bed97889115341d9d9c53106a73bdea..049986a25b1eefcc0ab95803393a9aa046e04fc1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
 # This is a build script template
 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
 # Jacob Alexander 2015
index affb1637b8a94dea393f1179930666b560ddbe3a..b0ab2e61d84e76f51db1b8e0e2355a4fc08109e1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #| Jacob Alexander 2014
 #| Arg List
 #| 1 - size binary   (e.g. avr-size)
 #| Jacob Alexander 2014
 #| Arg List
 #| 1 - size binary   (e.g. avr-size)
index 23f94dd7c474c8f7746043daa4b215789244415f..a5eb27b5136254516b17434cb20f19ac01e15979 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #| Jacob Alexander 2014
 #| Arg List
 #| 1 - File to write to         (e.g. final_chip)
 #| Jacob Alexander 2014
 #| Arg List
 #| 1 - File to write to         (e.g. final_chip)
index d99c5e6c1a77e46f778e3bc78ca4afa06147dba3..5c7719c2c12c7f7c0fcd16c169229c578d3b7349 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Convenience script for loading firmware onto a dfu type device
 # By default, initiates dfu-util
 
 # Convenience script for loading firmware onto a dfu type device
 # By default, initiates dfu-util
 
index 751a97f86aa1b4d29be166a684d73616b74a2157..b86dd11a186bb2770810924823f8f1c2a8f52036 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Convenience script for loading firmware onto a teensy type device
 # By default, initiates teensy-load-cli
 
 # Convenience script for loading firmware onto a teensy type device
 # By default, initiates teensy-load-cli
 
index 1d86daf17a0a914a11afb945830080089a74e124..492819726743f93ce7d77c24d05ed75652873217 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Convenience script for loading firmware onto a teensy type device
 # By default, initiates teensy-load-cli
 
 # Convenience script for loading firmware onto a teensy type device
 # By default, initiates teensy-load-cli
 
index 5d66c3717c742c5c8c899fbd0e8e449d46d36ebe..be869fa9c7f01590f25797cd2906b52e6cb51bae 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # ISSILed
 # Virtual Serial Port API Example
 # Jacob Alexander 2015
 # ISSILed
 # Virtual Serial Port API Example
 # Jacob Alexander 2015
index 8c2dda5871458b8ad0009a14fbc7bf63216da404..c2a611e85b2c120141c6036ba395956744c7a18d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # STLcd
 # Virtual Serial Port API Example
 # Jacob Alexander 2015
 # STLcd
 # Virtual Serial Port API Example
 # Jacob Alexander 2015
index dd3a7cc13764579bd4fe09fb17f10fb3b5a1f83a..4f5aaa9de530f357d34c0aa1f2c3259cdf44ac9e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 ###| Builder Script |###
 #
 # Builds all permutations of modules
 ###| Builder Script |###
 #
 # Builds all permutations of modules