After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 130591 - Linuxisms
Linuxisms
Status: RESOLVED FIXED
Product: intltool
Classification: Deprecated
Component: general
unspecified
Other opensolaris
: Normal critical
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks:
 
 
Reported: 2004-01-05 18:09 UTC by Morten Welinder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Morten Welinder 2004-01-05 18:09:07 UTC
(Critical because it blocks all other modules.)

intltoolize assumes that sh==bash.

--- intltoolize.in.~1.17.~	Thu Jan  1 08:06:19 2004
+++ intltoolize.in	Mon Jan  5 13:04:06 2004
@@ -245,7 +245,9 @@
 done
 
 if test ! -d intltool-modules; then
-  if ! $mkdir intltool-modules; then
+  if $mkdir intltool-modules; then
+    echo "$progname: created intltool-modules" 1>&2
+  else
     echo "$progname: unable to create 'intltool-modules' directory" 1>&2
     exit 1
   fi



Also, I think I saw an "mkdir -p" fly by.  Won't work in general without
gnu mkdir.
Comment 1 Morten Welinder 2004-01-05 18:43:15 UTC
Here is another from intltool.m4

if ! `perl -e "require XML::Parser" 2>/dev/null`; then
   AC_MSG_ERROR([XML::Parser perl module is required for intltool])
fi
Comment 2 Kenneth Rohde Christiansen 2004-01-05 18:44:34 UTC
please commit - and thanks! the mkdir -p was removed already
Comment 3 Morten Welinder 2004-01-05 18:55:57 UTC
Fixed in cvs.