summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2015-11-06 12:24:37 +0000
committerLars Wirzenius <liw@liw.fi>2015-12-20 15:25:04 +0100
commit943d7cce260ab28a24741d043101db8d31266bad (patch)
treef08fa64c252eb7d9f471e1a28c149e4b64a975f7
parent33411af20f025e5a83275a59057273894fbf9b41 (diff)
downloadcmdtest-943d7cce260ab28a24741d043101db8d31266bad.tar.gz
Use env in hashbangs
Some distributions don't install python to /usr/bin/python
-rwxr-xr-xcmdtest2
-rwxr-xr-xyarn2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdtest b/cmdtest
index d7f329e..bdc37cf 100755
--- a/cmdtest
+++ b/cmdtest
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2011 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
diff --git a/yarn b/yarn
index 7d3b295..c6e32cc 100755
--- a/yarn
+++ b/yarn
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2013 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify