From: Chris L. <li...@us...> - 2003-12-19 07:45:26
|
Update of /cvsroot/wigwam/wigwam-base/sh-macros In directory sc8-pr-cvs1:/tmp/cvs-serv18953/sh-macros Modified Files: generate-sh-macros-config Log Message: Eliminate warning message/broken-ness for systems with newer GNU head head: `-1' option is obsolete; use `-n 1' Try `head --help' for more information. Index: generate-sh-macros-config =================================================================== RCS file: /cvsroot/wigwam/wigwam-base/sh-macros/generate-sh-macros-config,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- generate-sh-macros-config 2 Oct 2003 22:55:21 -0000 1.7 +++ generate-sh-macros-config 19 Dec 2003 07:45:23 -0000 1.8 @@ -183,7 +183,7 @@ esac $test_x "$df_path" || continue - tmp_line0=`$df_path $tmp_df_options . 2> /dev/null | head -1` + tmp_line0=`$df_path $tmp_df_options . 2> /dev/null | head -n 1` echo "$tmp_line0" | $fgrep -q 'Filesystem' || continue # Test whether the first line, which contains a description |