From 9040419dda9b314955796a56311c4eeb84de5229 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Thu, 8 Sep 2011 09:06:44 -0400 Subject: Var expansion doesn't work in strings, duh. --- bin/pbjparse.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pbjparse.awk b/bin/pbjparse.awk index 4812a31..bb409af 100755 --- a/bin/pbjparse.awk +++ b/bin/pbjparse.awk @@ -72,7 +72,7 @@ function parsepbj ( cmd) # cmd is a "local" var else if ($1 == "!") { cmd = joinfields(2) while ((ret = cmd | getline) > 0) parsepbj() - if (ret == -1) die("failed to run $cmd") + if (ret == -1) die("failed to run " cmd) close(cmd) } else if ($1 == "|") { -- cgit v1.2.3-24-g4f1b