[Mesa-dev] [PATCH 25/37] st/xa: suffix xa-indent{, .sh} and add a shebang line
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 23 17:13:52 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Is this still used ? Running it produces some some 250+ diff stat.
---
src/gallium/state_trackers/xa/Makefile.am | 2 +-
src/gallium/state_trackers/xa/{xa-indent => xa-indent.sh} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename src/gallium/state_trackers/xa/{xa-indent => xa-indent.sh} (83%)
diff --git a/src/gallium/state_trackers/xa/Makefile.am b/src/gallium/state_trackers/xa/Makefile.am
index 21c7c000ea..1e51ec9cb8 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
similarity index 83%
rename from src/gallium/state_trackers/xa/xa-indent
rename to src/gallium/state_trackers/xa/xa-indent.sh
index 1972e53226..90241a3772 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 $*
--
2.11.0
More information about the mesa-dev
mailing list