From acd9eb66342049cd4751db1401a7856815c6f0d7 Mon Sep 17 00:00:00 2001 From: hPrnicessPi3 Date: Fri, 9 May 2025 17:02:14 -0600 Subject: [PATCH] more bugfixes 7 --- custom_bin/espinfo | 5 +++-- custom_bin/help-esp-tools | 2 +- esp-idf-tools-cmd.sh | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/custom_bin/espinfo b/custom_bin/espinfo index f867434..10e8c2d 100644 --- a/custom_bin/espinfo +++ b/custom_bin/espinfo @@ -1,6 +1,7 @@ echo "esp-idf-tools install dir: $ESPIDF_INSTALLDIR" -echo "esp-idf-tools version: $(cat $ESPIDF_INSTALLDIR/esp-idf-tools/version.txt)" -echo "esp-idf-tools last install: $(tail -1 $ESPIDF_INSTALLDIR/version-data.log)" +echo "esp-idf-tools custom_bin dir: $ESPIDF_INSTALLDIR/.custom_bin/" +echo "esp-idf-tools version: $(cat $ESPIDF_INSTALLDIR/.custom_bin/version.txt)" +echo "esp-idf-tools last install: $(tail -1 $ESPIDF_INSTALLDIR/.custom_bin/version-data.log)" echo "esp-idf path: $IDF_PATH" echo "esp-idf version: $ESP_IDF_VERSION" echo "esp-idf python path: $IDF_PYTHON_ENV_PATH" diff --git a/custom_bin/help-esp-tools b/custom_bin/help-esp-tools index 9b039b5..fc17042 100644 --- a/custom_bin/help-esp-tools +++ b/custom_bin/help-esp-tools @@ -1 +1 @@ -cat $ESPIDF_INSTALLDIR/esp-idf-tools/help.txt +cat $ESPIDF_INSTALLDIR/.custom_bin/help.txt diff --git a/esp-idf-tools-cmd.sh b/esp-idf-tools-cmd.sh index 0a37c6a..eb11785 100644 --- a/esp-idf-tools-cmd.sh +++ b/esp-idf-tools-cmd.sh @@ -183,6 +183,12 @@ function handleCustomBins() { chmod -R +x $customBinLocation returnStatus customBinExecChk=$? + + writeToLog "Copying vertson.txt and help.txt from $runningDir to $customBinLocation" + cp $runningDir/help.txt $customBinLocation + returnStatus + cp $runningDir/version.txt $customBinLocation + returnStatus } function handleExport() {