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:
committed by
Joshua Tauberer
parent
2afd0451c1
commit
3399b25084
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user