Changed to local path for stash config
This commit is contained in:
parent
6e89707032
commit
9fc2175dcd
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $(basename $PWD) != $(hostname) ]; then
|
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
|
||||||
echo "Incorrect directory for host"
|
echo "Incorrect directory for host"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $(basename $PWD) != $(hostname) ]; then
|
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
|
||||||
echo "Incorrect directory for host"
|
echo "Incorrect directory for host"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue