[PATCH] findsmb: fix the perl shebang
Michael Adam
obnox at samba.org
Wed Apr 2 07:09:29 MDT 2014
I am confused:
Where is this findsmb.in processed at all in the waf build?
I think nowhere:
'find bin/ -name "*findsmb*"' only finds the manpage.
In the autoconf build it was processed by the source/configure
script.
There is also the @prefix@ macro in this script.
What to do about it?
Cheers - Michael
On 2014-04-02 at 14:31 +0200, Björn Jacke wrote:
> fixes bug 10533
> ---
> source3/script/findsmb.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source3/script/findsmb.in b/source3/script/findsmb.in
> index 546cf8c..b63f156 100755
> --- a/source3/script/findsmb.in
> +++ b/source3/script/findsmb.in
> @@ -1,4 +1,4 @@
> -#!@PERL@
> +#!/usr/bin/env perl
> #
> # Prints info on all smb responding machines on a subnet.
> # This script needs to be run on a machine without nmbd running and be
> --
> 1.9.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 215 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140402/cb62a54c/attachment.pgp>
More information about the samba-technical
mailing list