1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-15 23:47:24 +02:00

Replaced the pwd command with Bash's $PWD variable.

This commit is contained in:
Teal Dulcet
2023-12-21 08:18:43 -08:00
committed by Joshua Tauberer
parent 2afd0451c1
commit 3399b25084
5 changed files with 6 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ if [ "$TAG" != "$(git describe --always)" ]; then
echo "Updating Mail-in-a-Box to $TAG . . ."
git fetch --depth 1 --force --prune origin tag "$TAG"
if ! git checkout -q "$TAG"; then
echo "Update failed. Did you modify something in $(pwd)?"
echo "Update failed. Did you modify something in $PWD?"
exit 1
fi
echo