Skip to content

Commit

Permalink
Allow passing a custom dir to install ksops to (#240)
Browse files Browse the repository at this point in the history
Co-authored-by: Devin Stein <devstein@seas.upenn.edu>
  • Loading branch information
dbramwell and devstein authored May 31, 2024
1 parent b74fe65 commit 2b3838b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install-ksops-archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ set -e

PLUGIN_PATH="/usr/local/bin/"

if [ -n "$1" ]; then
PLUGIN_PATH="$1"
fi

if [[ ! -d "$PLUGIN_PATH" ]]; then
echo "$PLUGIN_PATH does not exist. Cannot add ksops to PATH."
fi
Expand Down

0 comments on commit 2b3838b

Please sign in to comment.