summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-02-22 18:43:58 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-03-10 14:12:47 +0000
commita497f44645c3c3271ab2798c7509232598086c47 (patch)
treefeb2a469bde2d779f7f55205dee39feb30b0048e
parentc79c54ae3471e4c9c356e734c38b8ba72dfcf4a7 (diff)
st/xa: suffix xa-indent{,.sh} and add a shebang line
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
-rw-r--r--src/gallium/state_trackers/xa/Makefile.am2
-rwxr-xr-xsrc/gallium/state_trackers/xa/xa-indent.sh (renamed from src/gallium/state_trackers/xa/xa-indent)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xa/Makefile.am b/src/gallium/state_trackers/xa/Makefile.am
index 21c7c000ea3..1e51ec9cb89 100644
--- a/src/gallium/state_trackers/xa/Makefile.am
+++ b/src/gallium/state_trackers/xa/Makefile.am
@@ -38,4 +38,4 @@ noinst_LTLIBRARIES = libxatracker.la
libxatracker_la_SOURCES = $(C_SOURCES)
-EXTRA_DIST = README xa-indent
+EXTRA_DIST = README xa-indent.sh
diff --git a/src/gallium/state_trackers/xa/xa-indent b/src/gallium/state_trackers/xa/xa-indent.sh
index 1972e53226f..90241a3772e 100755
--- a/src/gallium/state_trackers/xa/xa-indent
+++ b/src/gallium/state_trackers/xa/xa-indent.sh
@@ -1,3 +1,3 @@
-#
+#!/bin/sh
indent --linux-style -i4 -ip4 -bad -bap -psl $*