Created
September 26, 2010 20:29
-
-
Save sole/598296 to your computer and use it in GitHub Desktop.
make thumbpdf behave nicely when called from python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff /usr/bin/thumbpdf /usr/bin/thumbpdf.bak | |
1c1,5 | |
< #!/usr/bin/env perl | |
--- | |
> eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' | |
> if 0; | |
> use strict; | |
> $^W=1; # turn warning on | |
> # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hint taken from http://bugs.gentoo.org/show_bug.cgi?id=289818