ports/160469: devel/subversion: asvn script uses #!/bin/bash as interpreter

Dean Matzkov bapabooiee at gmail.com
Mon Sep 5 00:10:02 UTC 2011


>Number:         160469
>Category:       ports
>Synopsis:       devel/subversion: asvn script uses #!/bin/bash as interpreter
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 00:10:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dean Matzkov
>Release:        8.2-RELEASE
>Organization:
>Environment:
>Description:
When devel/subversion is built WITH_ASVN, the asvn script tries to use `#!/bin/bash' as its interpreter, causing it to fail.
>How-To-Repeat:
# cd /usr/ports/devel/subversion ; make config # enable WITH_ASVN
# make install
$ asvn
>Fix:
Change the interpreter at the top of the script from `#!/bin/bash' to `#!/usr/bin/env bash'. This would require the port placing a dependency on shells/bash.

And please note that asvn seems to use Bash-isms, so using #!/bin/sh doesn't work.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list