aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-04-11 16:27:11 +0000
committerMax Horn2010-04-11 16:27:11 +0000
commit2e6b40798d3f945e1d1e36696c2af73506e8586b (patch)
tree6da232d19e6404db189144cca7bcebcd628aa2c1
parentcf85c0b318bfa50fdb12deb03315053e2a4e5c35 (diff)
downloadscummvm-rg350-2e6b40798d3f945e1d1e36696c2af73506e8586b.tar.gz
scummvm-rg350-2e6b40798d3f945e1d1e36696c2af73506e8586b.tar.bz2
scummvm-rg350-2e6b40798d3f945e1d1e36696c2af73506e8586b.zip
Change 'head -1' to (hopefully more portable) 'head -n1'
svn-id: r48619
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 3452c8b2c8..f6fe1ca906 100755
--- a/configure
+++ b/configure
@@ -204,7 +204,7 @@ EOF
}
gcc_get_define() {
- $CXX -dM -E - < /dev/null | fgrep "$1" | head -1 | cut -d ' ' -f 3-
+ $CXX -dM -E - < /dev/null | fgrep "$1" | head -n1 | cut -d ' ' -f 3-
}
#