From: Jim Wise Date: Wed, 9 Nov 2011 14:18:02 +0000 (-0500) Subject: Adjust for NetBSD location of perl. X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=cf36165d87f08798b2fd94fb27d660ab0e9bd5dd;p=sbcl.git Adjust for NetBSD location of perl. NetBSD does not ship with perl by default, but if it's present, it will be in /usr/pkg/bin. Would be nice to find another portable way to do this. --- diff --git a/tests/run-program.impure.lisp b/tests/run-program.impure.lisp index 5c8b988..8eae0d0 100644 --- a/tests/run-program.impure.lisp +++ b/tests/run-program.impure.lisp @@ -271,7 +271,7 @@ (let ((had-error-p nil)) (flet ((barf (&optional (format :default)) (with-output-to-string (stream) - (run-program "/usr/bin/perl" + (run-program #-netbsd "/usr/bin/perl" #+netbsd "/usr/pkg/bin/perl" '("-e" "print \"\\x20\\xfe\\xff\\x0a\"") :output stream :external-format format)))