Refactored the orignal setup script as the build script

Necessary to organize this within the `bin` folder.
This commit is contained in:
Brooke Kuhlmann
2026-02-23 11:01:52 -07:00
parent 80ff29343a
commit 098f40d967
+8 -5
View File
@@ -1,6 +1,11 @@
#! /usr/bin/env bash
# save the current directory
pushd .
set -o errexit
set -o nounset
set -o pipefail
IFS=$'\n\t'
pushd .
cd ~
mkdir Projects
cd Projects
@@ -10,7 +15,5 @@ make
sudo apt install -y i2c-tools libi2c-dev
sudo raspi-config nonint do_i2c 0
# restore the original directory
popd
popd
make