using "head -n 1" instead "head -1"?
- From: 代尔欣 <daierxin gmail com>
- To: networkmanager-list <networkmanager-list gnome org>
- Subject: using "head -n 1" instead "head -1"?
- Date: Fri, 20 Nov 2009 13:49:04 +0800
Hi all,
Not sure this has been mentioned before? NM0.7.1.998 configure script when check intltool with:
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
It use "head -1". Better using "head -n 1" instead? "head -1" will get error in some environment.
"head: `-1' option is obsolete; use `-n 1'"
and make the configure failed.
So in the m4/intltool.m4.
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]