[Pkg-lustre-svn-commit] updated: [29825e3] Fix bashism in configure script, which fails on unstable

Patrick Winnertz winnie at debian.org
Wed Jun 2 10:53:07 UTC 2010


The following commit has been merged in the master branch:
commit 29825e3c92e094a4fee5bd86d5b1831211d90341
Author: Patrick Winnertz <winnie at debian.org>
Date:   Wed May 12 14:54:21 2010 +0200

    Fix bashism in configure script, which fails on unstable
    
    Signed-off-by: Patrick Winnertz <winnie at debian.org>

diff --git a/debian/patches/fix_bashisms_for_dash.dpatch b/debian/patches/fix_bashisms_for_dash.dpatch
index effd562..494944f 100755
--- a/debian/patches/fix_bashisms_for_dash.dpatch
+++ b/debian/patches/fix_bashisms_for_dash.dpatch
@@ -35,3 +35,16 @@ index ad938da..ab9f236 100755
  
  LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
  . $LUSTRE/tests/test-framework.sh
+diff --git a/ldiskfs/configure.ac b/ldiskfs/configure.ac
+index 6644fe5..a343eaf 100644
+--- a/ldiskfs/configure.ac
++++ b/ldiskfs/configure.ac
+@@ -91,7 +91,7 @@ else
+ fi
+ 
+ AC_SUBST(BACKFS)
+-BACKFSU=${BACKFS/ext/EXT}
++BACKFSU=${echo $BACKFS | sed -e 's#ext#EXT#'}
+ AC_SUBST(BACKFSU) # We need a Upper string
+ 
+ AM_CONDITIONAL(USE_EXT4, test x$enable_ext4 = xyes)

-- 
Lustre Debian Packaging 



More information about the Pkg-lustre-svn-commit mailing list