Skip to content

Commit

Permalink
Fix bin/supply script
Browse files Browse the repository at this point in the history
It's unclear what directory this executes in but `dirname` should be
able to handle it
  • Loading branch information
andy-paine committed May 6, 2020
1 parent d2889d4 commit dc11120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/supply
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ DEPS_DIR=$3
IDX=$4

echo "Copying fetch_credhub_credentials.sh to profile.d directory"
cd $(dirname $0)/..
mkdir -p $DEPS_DIR/$IDX/profile.d
mkdir -p $DEPS_DIR/$IDX/bin
cp bin/fetch_credhub_credentials.sh $DEPS_DIR/$IDX/profile.d
cp credhub $DEPS_DIR/$IDX/bin/
echo "-----> Done."
exit 0

0 comments on commit dc11120

Please sign in to comment.