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 Thou shalt not nest...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/169ea36f46ee
branches:  trunk
changeset: 533549:169ea36f46ee
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Sep 21 09:08:08 2007 +0000

description:
Thou shalt not nest double quotes in backticks, for the Solaris /bin/ksh
cannot handle it.

diffstat:

 pkgtools/pbulk/files/pbulk/scripts/report |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 46c6356f7011 -r 169ea36f46ee pkgtools/pbulk/files/pbulk/scripts/report
--- a/pkgtools/pbulk/files/pbulk/scripts/report Fri Sep 21 08:38:39 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/report Fri Sep 21 09:08:08 2007 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: report,v 1.4 2007/07/25 11:07:28 joerg Exp $
+# $NetBSD: report,v 1.5 2007/09/21 09:08:08 rillig Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -41,7 +41,7 @@
 ${report_txt_script} ${loc}
 
 ${report_graph_script} ${loc}
-if [ "`grep -- "->" < ${loc}/report.dot | wc -l`" -lt ${report_graph_script_limit} ]; then
+if [ "`grep -- '->' < ${loc}/report.dot | wc -l`" -lt ${report_graph_script_limit} ]; then
        ${pkg_add} ${packages}/All/graphviz
        ${prefix}/bin/neato -Tsvg -Goverlap=ortho -Gsplines=true \
            -o ${loc}/report.svg ${loc}/report.dot



Home | Main Index | Thread Index | Old Index