Whamcloud - gitweb
Remove XSI:isms for greater portability. (Addresses
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Sep 2004 23:54:22 +0000 (19:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Sep 2004 23:54:22 +0000 (19:54 -0400)
Debian Bug #255589)

14 files changed:
ChangeLog
Makefile.in
debian/e2fsprogs.initrd
debian/rules
install-utils/ChangeLog
install-utils/convfstab
lib/ChangeLog
lib/Makefile.dll-lib
lib/et/ChangeLog
lib/et/compile_et.sh.in
lib/ss/ChangeLog
lib/ss/mk_cmds.sh.in
tests/ChangeLog
tests/test_script.in

index 76c5b69..f44b4dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-09-17  Theodore Ts'o  <tytso@mit.edu>
 
+       * Makefile.in: Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
        * config.guess, config.sub: Update to newer version from the FSF
                (2004-06-11)
 
index d86f923..82144b3 100644 (file)
@@ -49,7 +49,7 @@ distclean-doc:
 install: subs all-libs-recursive install-progs-recursive \
        install-shlibs-libs-recursive install-doc-libs
 #      export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages
-       if test ! -d e2fsck -a ! -d debugfs -a ! -d misc -a ! -d ext2ed ; then $(MAKE) install-libs ; fi
+       if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then $(MAKE) install-libs ; fi
 
 uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs
 
index cf23800..c1de6ae 100644 (file)
@@ -16,7 +16,7 @@ if [ $rootdev != 256 ]; then
     fi
     umount -n /devfs > /dev/null 2>&1
     umount -n /mnt > /dev/null 2>&1
-    if test -n "$ext3root" -o -n "$ext2root" ; then
+    if test -n "$ext3root" || test -n "$ext2root" ; then
        mount -nt tmpfs tmpfs /etc
        echo >> /etc/fstab
        echo >> /etc/mtab
index f3e2736..59af6ae 100644 (file)
@@ -18,7 +18,7 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 # find the version for the main package, from changelog file
-MAIN_VERSION = $(shell head -1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
+MAIN_VERSION = $(shell head -1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
 # find versions for libraries going into their own packages, from their Makefile.in's,
 # and sonames for all libs
 COMERR_VERSION = $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3)
index d20f031..3d41d6f 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * convfstab: Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
 2004-02-28  Theodore Ts'o  <tytso@mit.edu>
 
        * Release of E2fsprogs 1.35
index 01938d6..11160bf 100644 (file)
@@ -22,7 +22,7 @@ do
        echo "Please remove it by hand." >&2
        ;;
       * )
-       if [ $# -gt 6 -o $# -lt 3 ]
+       if [ $# -gt 6 ] || [ $# -lt 3 ]
        then
          echo "Don't have a clue about \"$LINE\"." >&2
          echo "$LINE"
index 34d8b5a..c9fa386 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * Makefile.dll-lib (jump): Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
 2004-02-29  Brian Bergstrand  <brian@bergstrand.org>
 
        * Makefile.bsd-lib, Makefile.darwin-lib: Define BSDLIB_PIC_FLAG
index bac0c7e..3ea520d 100644 (file)
@@ -48,7 +48,7 @@ jump/jump.vars: dll/jump.vars
 # If this hack doesn't work, try replacing it with a hardcoded path to 
 # libgcc.a, or -lgcc.  
 #
-#DLL_LIBGCC ="`$(CC) -v 2>&1 | head -1 | \
+#DLL_LIBGCC ="`$(CC) -v 2>&1 | head -1 | \
 #              sed -e 's;[^/]*;;' -e 's/specs/libgcc.a/'`"
 DLL_LIBGCC ="`$(CC) --print-libgcc-file-name`"
 
index 0c65dda..24c854e 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * compile_et.sh.in: Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
 2004-02-29  Brian Bergstrand  <brian@bergstrand.org>
 
        * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
index 0e7634c..e41b51b 100644 (file)
@@ -15,10 +15,10 @@ if test "x$1" = x ; then
     exit 1
 fi
 
-if test ! -f "$DIR/et_h.awk" -o ! -f "$DIR/et_c.awk" ; then
+if test ! -f "$DIR/et_h.awk" || test ! -f "$DIR/et_c.awk" ; then
     DIR="$ET_DIR"
 #    echo "Falling back to $DIR..."
-    if test ! -f "$DIR/et_h.awk" -o ! -f "$DIR/et_c.awk" ; then
+    if test ! -f "$DIR/et_h.awk" || test ! -f "$DIR/et_c.awk" ; then
        echo "compile_et: Couldn't find compile_et's template files."
        exit 1
     fi
index 0d1357e..426bee2 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * mk_cmds.sh.in: Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
 2004-02-29  Brian Bergstrand  <brian@bergstrand.org>
 
        * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
index c35d6b0..303a73a 100644 (file)
@@ -16,10 +16,10 @@ if test -n "$_SS_DIR_OVERRIDE" ; then
     DIR="$_SS_DIR_OVERRIDE";
 fi
 
-if test ! -f $DIR/ct_c.sed -o ! -f $DIR/ct_c.awk ; then
+if test ! -f $DIR/ct_c.sed || test ! -f $DIR/ct_c.awk ; then
     DIR="$SS_DIR"
 #    echo "Falling back to $DIR..."
-    if test ! -f "$DIR/ct_c.sed" -o ! -f "$DIR/ct_c.awk" ; then
+    if test ! -f "$DIR/ct_c.sed" || test ! -f "$DIR/ct_c.awk" ; then
        echo "mk_cmds: Couldn't find mk_cmds's template files."
        exit 1
     fi
index c9b7776..48188dd 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * test_script.in: Remove XSI:isms for greater portability.
+               (Addresses Debian Bug #255589)
+
 2004-02-28  Theodore Ts'o  <tytso@mit.edu>
 
        * Release of E2fsprogs 1.35
index 8778882..51cb099 100644 (file)
@@ -4,7 +4,7 @@
 #
 
 if test "$1"x = x ; then
-  TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | egrep -v "\.failed|\.new"`
+  TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | grep -E -v "\.failed|\.new"`
 else
   TESTS=
   for i