]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/whitespace.sh
Add a couple of useful options to multijump
[xonotic/xonotic-data.pk3dir.git] / qcsrc / whitespace.sh
index a017dc84f59965e829b8f4c3495caa924839e25d..1e42413a1b7dcdf982b369e9809aacdc60a89453 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
-
-find . -type f -print0 |                                    \
+cd ${0%[\\/]*}
+find . -name .git -prune -o -type f -print0 |                                    \
     xargs -0 sed -i                                         \
         `# strip trailing spaces`                           \
         -e 's/[[:space:]]*$//'                              \