summaryrefslogtreecommitdiff
path: root/examples/myshell
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2017-12-08 15:57:02 -0800
committerLee Duncan <lduncan@suse.com>2017-12-08 15:57:02 -0800
commite889aff3ba4825174c51eef05b3a1c416944bfc0 (patch)
treed6fa4e435251d217829f0b04d2ffe8b721006448 /examples/myshell
parent5ddd6cac9ef3eaa1cdb7642100d031168dac918a (diff)
downloadconfigshell-fb-e889aff3ba4825174c51eef05b3a1c416944bfc0.tar.gz
Remove explicit dependency on /usr/bin/python
The example script specifies /usr/bin/python, but the code can all handle python2 or python2, so update the script to work with either. Note: this replaces a SPEC-file dependency on /usr/bin/python with one on /usr/bin/env.
Diffstat (limited to 'examples/myshell')
-rwxr-xr-xexamples/myshell2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/myshell b/examples/myshell
index 73ec063..c932e28 100755
--- a/examples/myshell
+++ b/examples/myshell
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
'''
This file is part of ConfigShell.
Copyright (c) 2011-2013 by Datera, Inc