Tests: allow running test/run from every directory
This commit is contained in:
parent
e64375d393
commit
18cc9ae8cc
3
test/run
3
test/run
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Change to directory of this script.
|
||||||
|
cd "${0%/*}"
|
||||||
|
|
||||||
# Look for existing vader installation.
|
# Look for existing vader installation.
|
||||||
vader=( ${HOME}/.vim/*bundle*/vader*/plugin/vader.vim )
|
vader=( ${HOME}/.vim/*bundle*/vader*/plugin/vader.vim )
|
||||||
if [ -f ${vader[0]} ]; then
|
if [ -f ${vader[0]} ]; then
|
||||||
|
|
Loading…
Reference in a new issue