Changed to local path for stash config

This commit is contained in:
--set 2024-03-26 12:53:59 +01:00
parent 6e89707032
commit 9fc2175dcd
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ $(basename $PWD) != $(hostname) ]; then
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
echo "Incorrect directory for host"
exit 1
fi

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ $(basename $PWD) != $(hostname) ]; then
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
echo "Incorrect directory for host"
exit 1
fi