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

This commit is contained in:
Teal Dulcet
2024-04-03 09:22:50 -04:00
committed by Joshua Tauberer
parent 2afd0451c1
commit 3399b25084
5 changed files with 6 additions and 6 deletions
+1 -1
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