Tests: allow running test/run from every directory

This commit is contained in:
Daniel Hahler 2014-11-26 19:47:12 +01:00 committed by Marco Hinz
parent e64375d393
commit 18cc9ae8cc

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# Change to directory of this script.
cd "${0%/*}"
# Look for existing vader installation.
vader=( ${HOME}/.vim/*bundle*/vader*/plugin/vader.vim )
if [ -f ${vader[0]} ]; then