changeset 52963:24bc2f60d401

packagelib: call hg log without specific python
author Mathias De Mare <mathias.de_mare@nokia.com>
date Thu, 06 Feb 2025 09:47:08 +0100
parents 7b94ae0bd653
children 209aeaed7f69
files contrib/packaging/packagelib.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/packagelib.sh	Tue Feb 04 15:42:07 2025 +0100
+++ b/contrib/packaging/packagelib.sh	Thu Feb 06 09:47:08 2025 +0100
@@ -12,9 +12,9 @@
     # in case of builds on an older platform that cannot build hg
     if [ ! -z "$USELOCALHG" ]; then
         HG="$(which hg)"
-        version=$($python $HG log -r . --template "{latesttag}")
-        distance=$($python $HG log -r . --template "{latesttagdistance}")
-        node=$($python $HG log -r . --template "{node|short}")
+        version=$($HG log -r . --template "{latesttag}")
+        distance=$($HG log -r . --template "{latesttagdistance}")
+        node=$($HG log -r . --template "{node|short}")
         return
     fi
     if [ -z "${1+x}" ]; then