From e3462495f49e245bf91eac2904cbe08c5183fdd0 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Sun, 27 Dec 2009 22:22:09 -0500 Subject: [PATCH] Use the system python instead of a local one (which may be referenced inside the scripts that call wicd). Thanks to Russel O'Connor. --- in/scripts=wicd-cli.in | 2 +- in/scripts=wicd-client.in | 2 +- in/scripts=wicd-curses.in | 2 +- in/scripts=wicd.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/in/scripts=wicd-cli.in b/in/scripts=wicd-cli.in index 584cf45..be9aefe 100755 --- a/in/scripts=wicd-cli.in +++ b/in/scripts=wicd-cli.in @@ -1,2 +1,2 @@ #!/bin/bash -exec python -O %LIB%wicd-cli.py $@ +exec %PYTHON% -O %LIB%wicd-cli.py $@ diff --git a/in/scripts=wicd-client.in b/in/scripts=wicd-client.in index 871b930..249c157 100755 --- a/in/scripts=wicd-client.in +++ b/in/scripts=wicd-client.in @@ -41,5 +41,5 @@ EOF fi else - exec python -O %LIB%wicd-client.py $@ + exec %PYTHON% -O %LIB%wicd-client.py $@ fi diff --git a/in/scripts=wicd-curses.in b/in/scripts=wicd-curses.in index 19ff689..9e74c0f 100755 --- a/in/scripts=wicd-curses.in +++ b/in/scripts=wicd-curses.in @@ -6,4 +6,4 @@ if [ -e "%VARLIB%WHEREAREMYFILES" ] && [ ! -L "$HOME/.wicd/WHEREAREMYFILES" ]; t ln -s "%VARLIB%WHEREAREMYFILES" "$HOME/.wicd/WHEREAREMYFILES" fi -exec python -O %LIB%wicd-curses.py $@ +exec %PYTHON% -O %LIB%wicd-curses.py $@ diff --git a/in/scripts=wicd.in b/in/scripts=wicd.in index 579a110..6ea4b29 100755 --- a/in/scripts=wicd.in +++ b/in/scripts=wicd.in @@ -1,3 +1,3 @@ #!/bin/bash -exec python -O %LIB%wicd-daemon.py $@ +exec %PYTHON% -O %LIB%wicd-daemon.py $@