Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


I had an issue with /bin/sh as the shebang. Kendy seems to have fixed that issue for me. What i have been informed as to why /bin/sh is being used is for portability.

On 12/6/10 2:17 AM, Norbert Thiebaud wrote:
On Sun, Dec 5, 2010 at 7:03 PM, Thomas Klausner<wiz@netbsd.org>  wrote:
I found the simplest fix for it:
diff --git a/Makefile.in b/Makefile.in
index 9e05c70..4fbbf4a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,7 +1,7 @@
  # @configure_input@
  # FIXME: create 'install' and 'check' target

-SHELL=/bin/sh
+SHELL=/bin/bash

  all: dmake/dmake@EXEEXT@ fetch
        @. ./*[Ee]nv.[Ss]et.sh&&  \

Seems the problems are caused by some difference between /bin/sh
(NetBSD's /bin/sh) and bash.

Ok to push?
(Or is SHELL="env bash" or something like this preferred?)
/usr/bin/env bash

that is what we use for shebang

  Thomas
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.