pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/scripts Fix order of assign...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bb1f01b3723
branches:  trunk
changeset: 414912:1bb1f01b3723
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sat Apr 04 15:17:36 2020 +0000

description:
Fix order of assignments so we set path as intended, not to empty.

diffstat:

 pkgtools/pbulk/files/pbulk/scripts/client-prepare |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 3af800c40cd6 -r 1bb1f01b3723 pkgtools/pbulk/files/pbulk/scripts/client-prepare
--- a/pkgtools/pbulk/files/pbulk/scripts/client-prepare Sat Apr 04 15:13:56 2020 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/client-prepare Sat Apr 04 15:17:36 2020 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: client-prepare,v 1.3 2016/12/18 22:59:35 joerg Exp $
+# $NetBSD: client-prepare,v 1.4 2020/04/04 15:17:36 riastradh Exp $
 
 . @PBULK_CONFIG@
 
@@ -27,11 +27,11 @@
 done
 
 for client in ${unique_clients}; do
-       case ${client} in 
+       case ${client} in
        /*)
+               path=${client}
                port=
                client=
-               path=${client}
                ;;
        *:*)
                port="-p ${client##*:}"



Home | Main Index | Thread Index | Old Index