[PATCH util-modular] x-driver-screen-scrn-conv.sh: add shebang
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 14 11:42:57 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
x-driver-screen-scrn-conv.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/x-driver-screen-scrn-conv.sh b/x-driver-screen-scrn-conv.sh
index e41cf7a..f805424 100755
--- a/x-driver-screen-scrn-conv.sh
+++ b/x-driver-screen-scrn-conv.sh
@@ -1,2 +1,4 @@
+#!/bin/sh
+
find . -name \*.[ch] -exec sed -i -e's/xf86Screens\[\([a-z].*\)->myNum\]/xf86ScreenToScrn(\1)/g' {} \;
find . -name \*.[ch] -exec sed -i -e's/screenInfo.screens\[\([a-z].*\)->scrnIndex\]/xf86ScrnToScreen(\1)/g' {} \;
--
2.11.0
More information about the xorg-devel
mailing list