Sfoglia il codice sorgente

Tests: allow running test/run from every directory

Daniel Hahler 11 anni fa
parent
commit
18cc9ae8cc
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      test/run

+ 3 - 0
test/run

@@ -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