From: Steven Baltakatei Sandoval Date: Mon, 29 Jun 2020 22:10:13 +0000 (+0000) Subject: feat(bkgpslog):Add ~/.local/bin to PATH X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/bca2893269b4bb27f46e0938943f984e3e174bfc?hp=b11c81de954e190f2a18c2f092dab80e30abf7f2 feat(bkgpslog):Add ~/.local/bin to PATH If apps for bkgpslog stored in `~/.local/bin`, make sure to add it to front of PATH. --- diff --git a/exec/bkgpslog b/exec/bkgpslog index cb6900d..724b6e9 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -5,7 +5,7 @@ # Usage: bkgpslog --output [output dir] #==BEGIN Define script parameters== -PATH="/opt/bktei:$PATH" # Add default baltakatei script install directory to PATH (necessary for other bk scripts) +PATH="$HOME/.local/bin:$PATH" # Add "$(systemd-path user-binaries)" path in case apps saved there SCRIPT_HOSTNAME=$(hostname) # Save hostname of system running this script. SCRIPT_VERSION="bkgpslog 0.0.1" # Define version of script. SCRIPT_TIME_SHORT="$(date +%Y%m%dT%H%M%S%z)" # Save current date & time in ISO-8601 format.