diff options
Diffstat (limited to 'cerbero-uninstalled')
-rwxr-xr-x | cerbero-uninstalled | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/cerbero-uninstalled b/cerbero-uninstalled index 37db3fea..6c74173d 100755 --- a/cerbero-uninstalled +++ b/cerbero-uninstalled @@ -1,11 +1,9 @@ -#!/bin/sh -export PYTHONPATH=$PYTHONPATH:`pwd` -export CERBERO_UNINSTALLED=1 +#!/usr/bin/env python +import sys +import os -if [ -z $PYTHON ] -then - PYTHON=python -fi - -$PYTHON bin/cerbero "$@" +os.environ['CERBERO_UNINSTALLED']='1' +sys.path.insert(0, os.path.dirname(__file__)) +from cerbero.main import main +main() |