[devscripts] 01/06: Revert "uupdate: shell use -a instead"

Osamu Aoki osamu at moszumanska.debian.org
Wed Nov 18 13:34:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 70954aabe400dc5c741301578f7f6221ec924d3f
Author: Osamu Aoki <osamu at debian.org>
Date:   Tue Nov 17 23:10:13 2015 +0900

    Revert "uupdate: shell use -a instead"
    
    This reverts commit fa47c538969b56da8ebdd5baae9767d097a10eef.
---
 scripts/uupdate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/uupdate.sh b/scripts/uupdate.sh
index aa55572..319d0be 100755
--- a/scripts/uupdate.sh
+++ b/scripts/uupdate.sh
@@ -1063,7 +1063,7 @@ else
         COMP=${DEBIANFILE##*.}
 	NEW_DEBIANFILE="${PACKAGE}_${NEW_VERSION}-$SUFFIX.debian.tar.$COMP"
     fi
-    if [ $OVERWRITE = 0 -a -e ${NEW_DEBIANFILE} ]; then
+    if [ $OVERWRITE = 0 and -e ${NEW_DEBIANFILE} ]; then
 	echo "$PROGNAME: ${NEW_DEBIANFILE} already exists.  Start $PROGNAME with -o to overwrite it." >&2
 	exit 1
     else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list