use opgk_commands-file in repository rather than in global file-system

This commit is contained in:
Gerhard Hoffmann 2023-07-04 12:14:13 +02:00
parent cebda53e85
commit 794c26ee97

View File

@ -1,13 +1,13 @@
#!/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
# repo: customer_281