diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-04-07 14:04:19 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-04-07 14:04:19 +0000 |
commit | 367ebd4d4777c826c7bcb4ddeb1b02a0b7146ef5 (patch) | |
tree | 1dcd3a8f1a7af25536bc713ac1783f18491e72f3 /scripts/patchfns.in | |
parent | 07095115fa3bc04074956d703d8798910eee21a3 (diff) | |
download | quilt-367ebd4d4777c826c7bcb4ddeb1b02a0b7146ef5.tar.gz |
`head -1' and `tail -1' is non-standard and deprecated, and
does not work with coreutils-5.0 any longer.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r-- | scripts/patchfns.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in index a080126..476d6aa 100644 --- a/scripts/patchfns.in +++ b/scripts/patchfns.in @@ -246,7 +246,7 @@ cat_series() top_patch() { - [ -e $DB ] && tail -1 $DB + [ -e $DB ] && tail -n 1 $DB } is_numeric() @@ -318,7 +318,7 @@ next_patch_for_file() then grep -l -E "^$(quote_re $file)\$" \ $(pc_file_name $patches_on_top) \ - | head -1 \ + | head -n 1 \ | @SED@ -e 's:^\.pc/::' -e 's:/\.pc$::' fi |