From bb0f8a18bf409466fdf866a1af0a4bb8ab64b4db Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 4 Jul 2023 11:01:54 +0200 Subject: [PATCH] Add some debug output. Use repository path for opkg_commnds-file --- .githooks/post-checkout | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.githooks/post-checkout b/.githooks/post-checkout index 8b86380..2982390 100755 --- a/.githooks/post-checkout +++ b/.githooks/post-checkout @@ -1,12 +1,12 @@ #!/bin/bash - -# echo "POST-CHECKOUT" +echo "POST-CHECKOUT $PWD" > "/tmp/post_checkout.txt" # echo "PREV-HEAD=$1" # echo "CURR-HEAD=$2" # echo "BRANCH-CHECKOUT=$3" readonly CHECKOUT_HISTORY_FILE="/opt/app/tools/atbupdate/checkout_history" readonly GIT_UPDATE_LOG="/opt/app/tools/atbupdate/update_log.csv" -readonly OPKG_COMMANDS_FILE="/etc/psa_update/opkg_commands" +readonly OPKG_COMMANDS_FILE="etc/psa_update/opkg_commands" write_log_file () { if [ -f $CHECKOUT_HISTORY_FILE ]; then