File configshell-fb-example-should-not-specify-path.patch of Package python-configshell-fb
From: Lee Duncan <lduncan@suse.com>
Date: Fri Dec 8 15:38:50 PST 2017
Subject: remove example dependency on /usr/bin/python
All of the code works with python2 or python3, so remove
the use of the full /usr/bin/python path in the example
script so building is easier.
Signed-off-by: Lee Duncan <lduncan@suse.com>
---
diff -aurp a/examples/myshell b/examples/myshell
--- a/examples/myshell 2017-03-01 15:21:57.000000000 -0800
+++ b/examples/myshell 2017-12-08 15:33:29.672794872 -0800
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
'''
This file is part of ConfigShell.
Copyright (c) 2011-2013 by Datera, Inc