Changed to local path for stash config
This commit is contained in:
parent
6e89707032
commit
9fc2175dcd
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue