summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-09-30 22:33:44 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-10-02 22:00:40 +0800
commitacd253dcc61d0b69dc6aa345ad4f148038c26290 (patch)
treef319c1fcd2d1b60643b516730c283ccbec67847a /demo
parentb700ef614db195390d3d10abdd7b11cd9c16557d (diff)
downloadgeoclue-acd253dcc61d0b69dc6aa345ad4f148038c26290.tar.gz
build: Don't hardcode the path of python3
Hardcoding paths to interpreters seldom works on *BSD. The ports system allows users to choose their preferred installation prefix as long as it is not /usr. This makes it nearly impossible to have a common path of python3 which works on both GNU/Linux and *BSD.
Diffstat (limited to 'demo')
-rw-r--r--demo/install-file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/install-file.py b/demo/install-file.py
index 7a10728..7fbd948 100644
--- a/demo/install-file.py
+++ b/demo/install-file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# A simple script that copies a given file (first arg) to a given location
# (second arg).