Some distributions like Trisquel 10 don't necessarily have an
interpreter at /usr/bin/python.

In addition it makes sure that the right interpreter is used, as
packages like python-is-python2 can ship /usr/bin/python as a symlink
to python2 in /usr/bin.

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
Reviewed-by: Joonas Kylmälä <joonas.kylm...@iki.fi>
---
 patches/replicant_prepare_patch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/replicant_prepare_patch.py 
b/patches/replicant_prepare_patch.py
index f75b1ec..9e7f883 100755
--- a/patches/replicant_prepare_patch.py
+++ b/patches/replicant_prepare_patch.py
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/bin/env python3
 # Copyright (C) 2020 Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
 #
 # This program is free software: you can redistribute it and/or modify
-- 
2.41.0

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to