@@ -19,7 +19,7 @@ env_var_name=${1:-GIT_CONCEAL_SECRET_KEY}
1919# If installed in the $PATH, execute it (replacing this current process)
2020echo " Searching for git-conceal binary in PATH..."
2121if command -v git-conceal & > /dev/null; then
22- echo " git-conceal binary found in $ PATH, running 'git-conceal unlock env:${env_var_name} '"
22+ echo " git-conceal binary found in PATH at $( command -v git-conceal ) . Running 'git-conceal unlock env:${env_var_name} '"
2323 git-conceal unlock " env:${env_var_name} "
2424 exit $?
2525fi
@@ -28,13 +28,13 @@ INSTALL_DIR="${PWD}"
2828echo " Searching for git-conceal binary in ${INSTALL_DIR} ..."
2929# If was already previously installed in INSTALL_DIR, execute it (replacing this current process)
3030if [[ -x " ${INSTALL_DIR} /git-conceal" ]]; then
31- echo " git-conceal binary found in ${INSTALL_DIR} , running 'git-conceal unlock env:${env_var_name} '"
31+ echo " git-conceal binary found in ${INSTALL_DIR} . Running 'git-conceal unlock env:${env_var_name} '"
3232 " ${INSTALL_DIR} /git-conceal" unlock " env:${env_var_name} "
3333 exit $?
3434fi
3535
3636# Otherwise, install it locally and execute it
37- echo " git-conceal binary not found in ${INSTALL_DIR} , installing it..."
37+ echo " git-conceal binary not found in ${INSTALL_DIR} . Installing it..."
3838mkdir -p " ${INSTALL_DIR} "
3939curl -fsSL https://raw.githubusercontent.com/Automattic/git-conceal/install-script/install.sh | bash -s -- --prefix " ${INSTALL_DIR} "
4040echo " git-conceal installed successfully"
0 commit comments