[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255577: XSI:isms in several scripts



Package: apt
Version: 0.9.7.4
Followup-For: Bug #255577

Missed one other use of egrep.

--
diff -u a/prepare-release b/prepare-release
--- a/prepare-release	2012-06-12 10:26:40.234719000 +0800
+++ b/prepare-release	2012-09-06 18:22:38.093342608 +0800
@@ -4,7 +4,7 @@
 DISTRIBUTION=$(dpkg-parsechangelog | sed -n -e '/^Distribution:/s/^Distribution: //p')
 
 LIBAPTPKGVERSION="$(awk -v ORS='.' '/^\#define APT_PKG_M/ {print $3}' apt-pkg/init.h | sed 's/\.$//')"
-LIBAPTINSTVERSION="$(egrep '^MAJOR=' apt-inst/makefile |cut -d '=' -f 2)"
+LIBAPTINSTVERSION="$(grep -E '^MAJOR=' apt-inst/makefile |cut -d '=' -f 2)"
 
 if [ "$1" = 'pre-export' ]; then
 	libraryversioncheck() {


Reply to: