diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-02-05 12:14:05 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-02-05 12:14:05 +0000 |
commit | c5e8abb281aedeb2c496a84b12ec050a67a5afaa (patch) | |
tree | f782256dd9fee283f80fd648d1d165a4f90b0b8d | |
parent | e1cb7753a1d5fd22bec21ea04c2d14755130c2a3 (diff) | |
download | quilt-c5e8abb281aedeb2c496a84b12ec050a67a5afaa.tar.gz |
- Don't print an empty line for `quilt top' if no patches are
applied.
-rw-r--r-- | quilt.changes | 2 | ||||
-rw-r--r-- | quilt/top.in | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes index 6b1de14..cd67978 100644 --- a/quilt.changes +++ b/quilt.changes @@ -4,6 +4,8 @@ Thu Feb 5 11:51:21 CET 2004 - agruen@suse.de - Add some fixes from Manuel Estrada Sainz <ranty@debian.org>. - Add QUILT_SERIES setting: Override the location of the series file to use. +- Don't print an empty line for `quilt top' if no patches are + applied. ------------------------------------------------------------------- Tue Feb 3 12:58:49 CET 2004 - agruen@suse.de diff --git a/quilt/top.in b/quilt/top.in index 4153bf1..70fc162 100644 --- a/quilt/top.in +++ b/quilt/top.in @@ -61,7 +61,10 @@ fi top=$(top_patch) [ -n "$opt_filenames" ] && top=$(patch_file_name $top) -echo "$top" +if [ -n "$top" ] +then + echo "$top" +fi ### Local Variables: ### mode: shell-script ### End: |