quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH 07/39] backup-files: Skip test for file presence


From: Jean Delvare
Subject: [Quilt-dev] [PATCH 07/39] backup-files: Skip test for file presence
Date: Sat, 19 Mar 2011 10:52:37 +0100
User-agent: quilt/0.48-17.1

Don't test for the presence of files to process. Nothing wrong will
happen if we don't have any file to process, and backup-files is for
quilt's internal use only, so there is no need to be paranoid.

Signed-off-by: Jean Delvare <address@hidden>
Reviewed-by: Raphael Hertzog <address@hidden>
---
 quilt/scripts/backup-files.in |    4 ----
 1 file changed, 4 deletions(-)

--- a/quilt/scripts/backup-files.in
+++ b/quilt/scripts/backup-files.in
@@ -210,10 +210,6 @@ if [ -z "${OPT_PREFIX}" ]; then
        usage "$progname"
        exit 1
 fi
-if [ address@hidden == 0 ] && [ -z "$OPT_FILE" ]; then
-       usage "$progname"
-       exit 1
-fi
 
 if [ -n "$OPT_FILE" ]; then
        cat "$OPT_FILE" \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]