From 880153c0dae27fd38235928f89567b49d9dd922c Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 13 Nov 2024 12:24:17 -0700 Subject: [PATCH] 61-rc4 --- custom_bin/changeesp.sh | 2 +- custom_bin/changeport.sh | 10 +++++----- custom_bin/fullclean | 6 +++--- custom_bin/rebuildfull | 4 ++-- custom_bin/save-defconfig | 4 ++-- todo.txt | 2 +- version.txt | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/custom_bin/changeesp.sh b/custom_bin/changeesp.sh index 35e9aae..bdee88c 100644 --- a/custom_bin/changeesp.sh +++ b/custom_bin/changeesp.sh @@ -1,6 +1,6 @@ subprocess() { echo -e "\nChanging ESPTARGET\n" - echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)" + echo -e "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)" read esp eval "$1=$esp" return 0 diff --git a/custom_bin/changeport.sh b/custom_bin/changeport.sh index 801c28d..5736503 100644 --- a/custom_bin/changeport.sh +++ b/custom_bin/changeport.sh @@ -1,6 +1,6 @@ subprocess() { - echo "\nChanging ESPPORT\n" - echo "TTY devices found in dmesg:" + echo -e "\nChanging ESPPORT\n" + echo -e "TTY devices found in dmesg:" COUNTER=0 devarr=() for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u); do @@ -9,7 +9,7 @@ subprocess() { COUNTER=$((COUNTER+1)) done - echo "\nEnter TTY Number You'd Like:" + echo -e "\nEnter TTY Number You'd Like:" read tty sel=$tty+1 @@ -23,5 +23,5 @@ subprocess ret export ESPPORT=$ret -echo "\nESPPORT set to $ESPPORT\n" -echo "\nAll done :3\n" \ No newline at end of file +echo -e "\nESPPORT set to $ESPPORT\n" +echo -e "\nAll done :3\n" \ No newline at end of file diff --git a/custom_bin/fullclean b/custom_bin/fullclean index c2c3fb8..f625189 100644 --- a/custom_bin/fullclean +++ b/custom_bin/fullclean @@ -14,21 +14,21 @@ fi if [ -f sdkconfig ]; then echo -e "\nDeleting sdkconfig\n" - rm sdkconfig + rm -f sdkconfig else echo -e "\nNo sdkconfig, skipping delete\n" fi if [ -f *.old ]; then echo -e "\nDeleting *.old\n" - rm *.old + rm -f *.old else echo -e "\nNo *.old, skipping delete\n" fi if [ -f *.bak ]; then echo -e "\nDeleting *.bak\n" - rm *.bak + rm -f *.bak else echo -e "\nNo *.bak, skipping delete\n" fi diff --git a/custom_bin/rebuildfull b/custom_bin/rebuildfull index 55b5d80..e5b62f6 100644 --- a/custom_bin/rebuildfull +++ b/custom_bin/rebuildfull @@ -16,8 +16,8 @@ fi echo -e "\nRun menuconfig y/n?\n" read menuconfig -if [ "menuconfig" == "y" ]; then - echo -e "\n\Executing menuconfig\n" +if [ "$menuconfig" == "y" ]; then + echo -e "\nExecuting menuconfig\n" idf.py menuconfig fi diff --git a/custom_bin/save-defconfig b/custom_bin/save-defconfig index 04bd4d0..31425f8 100644 --- a/custom_bin/save-defconfig +++ b/custom_bin/save-defconfig @@ -2,8 +2,8 @@ echo -e "\nSaving default config\n" if [ -f ./sdkconfig.defaults ]; then - echo -e "backing up sdkconfig.defaults to sdkconfig.defaults.bak" - cp sdkconfig.defaults sdkconfig.defaults.bak + echo -e "\nbacking up sdkconfig.defaults to sdkconfig.defaults.bak\n" + cp -f sdkconfig.defaults sdkconfig.defaults.bak else echo -e "\nNo sdkconfig.defaults found, skipping backup\n" fi diff --git a/todo.txt b/todo.txt index ad885e0..440dd86 100644 --- a/todo.txt +++ b/todo.txt @@ -24,6 +24,7 @@ x touch up add-to-export-sh.txt x alias add and document too x maybe just cat a txt lmao x test reinstall from zero +x fix dat nuke issue on line ~307 # fixed? testan: x bash reinstall-esp-idf.sh help @@ -57,4 +58,3 @@ standardize the capatilization and format and content of notes verbosity levels? less verbose on git commands and installers? -fix dat nuke issue on line ~307 # fixed? \ No newline at end of file diff --git a/version.txt b/version.txt index cf9a344..e6300f7 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-rc3.2 \ No newline at end of file +61-rc4 \ No newline at end of file