[PATCH] remove hash bangs from non-executable scripts
John A Meinel
john at arbash-meinel.com
Fri May 19 13:10:46 BST 2006
Andres Salomon wrote:
> bzrlib/weave.py and bzrlib/uncommit.py both begin w/ #!/usr/bin/python.
> This angers debian's lintian check, as they are not meant to be
> W: bzr:
> script-not-executable ./usr/lib/python2.4/site-packages/bzrlib/uncommit.py
> W: bzr:
> script-not-executable ./usr/lib/python2.4/site-packages/bzrlib/weave.py
> I can't think of a reason why this should be the case; this patch
> removes the #! bit from the beginning of those files.
Actually weave.py is meant to be executable. It has a little bit of if
__name__ == '__main___': at the bottom. (You can use it to manually play
around with weave files and their contents).
From what I see weave.py is executable, so I'm not sure why debian's
lintian check would complain.
If we are fixing it, uncommit.py needs a copyright statement as the
first block. Not just to remove the #!.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060519/594c1761/attachment.pgp
More information about the bazaar