diff --git a/pkgs/servers/sabnzbd/builder.sh b/pkgs/servers/sabnzbd/builder.sh index 9613d24d67d..fb6f48d8b4c 100644 --- a/pkgs/servers/sabnzbd/builder.sh +++ b/pkgs/servers/sabnzbd/builder.sh @@ -3,10 +3,10 @@ source $stdenv/setup tar xvfz $src mv SABnzbd-* $out --- Create a start script and let wrapProgram with toPythonPath wrap it so that python is started with cheetahTemplate in its importpath (classpath) +# Create a start script and let wrapProgram with toPythonPath wrap it so that python is started with cheetahTemplate in its importpath (classpath) mkdir $out/bin -echo "$python/bin/python $out/SABnzbd.py" > $out/bin/sabnzbd.sh -chmod +x $out/bin/sabnzbd.sh +echo "$python/bin/python $out/SABnzbd.py" > $out/bin/sabnzbd +chmod +x $out/bin/sabnzbd for i in $(cd $out/bin && ls); do wrapProgram $out/bin/$i \