Explorar o código

Tests: allow running test/run from every directory

Daniel Hahler %!s(int64=11) %!d(string=hai) anos
pai
achega
18cc9ae8cc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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