On 16. 11. 15 17:28, Osamu Aoki wrote:
This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit fa47c538969b56da8ebdd5baae9767d097a10eef
Author: Osamu Aoki <[email protected]>
Date:   Tue Nov 17 02:25:53 2015 +0900

     uupdate: shell use -a instead
---
  scripts/uupdate.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/uupdate.sh b/scripts/uupdate.sh
index 319d0be..aa55572 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 and -e ${NEW_DEBIANFILE} ]; then
+    if [ $OVERWRITE = 0 -a -e ${NEW_DEBIANFILE} ]; then
        echo "$PROGNAME: ${NEW_DEBIANFILE} already exists.  Start $PROGNAME with -o to 
overwrite it." >&2
        exit 1
      else


Osamu,

So I am getting FTBS again. I'll try to familiairise myself with this script and give you some feedback. In the meantime you might want to see if you find bashdb useful. It's a bash debugger and I took it over a little while back.

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to