]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
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 76c5b697c642bf7e267790a37cadff77cf6e5f16..f44b4dc44ee98303100b2a135ba76bbeae81f791 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 d86f9231eafa6ee6631913d94a39158283202b38..82144b351a992cb65212043a2a0ccc129b723100 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 cf238009419be2f47bed9e4fa0fbfec44d1d5218..c1de6aee5504be6bb5f65f1597cff890c02b1008 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 f3e2736f2444b19bad691de873c4aaa421d6d72f..59af6aed127833eca303468e59790979f77c7537 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 d20f0310178dbd108d4b0c7cd9a389d77d31f7f4..3d41d6f87369e0a9ae34f00e26e68dbaa79ef161 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 01938d63aba005548d831441358fc2898b564625..11160bf7d0b13363b1b1df096f9b6a9f4f7d7a0d 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 34d8b5a6782175c2853a3161f6503c918ddb5c23..c9fa386dc0bfc36cadec7f32fefb2580f0db3207 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 bac0c7eb1c5d10490f5c3218102f190484d4866f..3ea520d470c0b04cfc017a7446dc0d490d55107e 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 0c65ddae2bfa0c9f870edba1bf6ae9f482be9fbb..24c854e85863609de6b1ffe35456613fa31b31ed 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 0e7634c7f6b5da1b4d3ad77c7e28af703123fccc..e41b51b940467d2584894ef4f2a8b2f36638a796 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 0d1357e0955a5b90a644377c7079d8094310bfba..426bee2315830405a214b8d7c2acf07df4a99ae9 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 c35d6b0300d019c9d242549907e54b9035e13c63..303a73a7ae5bde29a87698b94df3abb304e8a4d1 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 c9b7776184e682689b157be2092d8dd2dcf4044a..48188dd039cd764dc645b2e7ca24294a3376e95f 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 877888246bfdd7456f1ea5622d5360f65d4da247..51cb099d433c7a96b0c175b7cb8044172a7ab808 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