From c42ecd78b799898727fa86ddc260c71577573ec7 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Dec 04 2017 19:50:15 +0000 Subject: Use env's python Usage of "/usr/bin/python" ignores what may be specificied in the current running environment, such as a virtual environment. This change makes the bin/rpkg script aware of which python binary and libraries should be used. Signed-off-by: Luiz Carvalho --- diff --git a/bin/rpkg b/bin/rpkg index 6cd10e2..68adf19 100755 --- a/bin/rpkg +++ b/bin/rpkg @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # rpkg - a script to interact with the Red Hat Packaging system # # Copyright (C) 2011 Red Hat Inc.