File 0026-AzEvents-Use-configure-to-replace-shebang-line.patch of Package resource-agents.11488

From 7a62c030c91a990c752c5262f697847525f2b0c0 Mon Sep 17 00:00:00 2001
From: Tobias Niekamp <tniek@microsoft.com>
Date: Wed, 18 Jul 2018 10:11:29 -0700
Subject: [PATCH] AzEvents: Use configure to replace shebang line

---
 heartbeat/{AzEvents => AzEvents.in} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename heartbeat/{AzEvents => AzEvents.in} (99%)

diff --git a/heartbeat/AzEvents b/heartbeat/AzEvents.in
similarity index 99%
rename from heartbeat/AzEvents
rename to heartbeat/AzEvents.in
index c12802e4..18f9ba6f 100644
--- a/heartbeat/AzEvents
+++ b/heartbeat/AzEvents.in
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@PYTHON@ -tt
 #
 #	Resource agent for monitoring Azure Scheduled Events
 #
@@ -890,4 +890,4 @@ def main():
 	sys.exit(result)
 
 if __name__ == '__main__':
-	main()
\ No newline at end of file
+	main()
-- 
2.16.4

openSUSE Build Service is sponsored by