From f75182a16c277db4e36361e7cb208ac6a93cfb13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Thu, 16 Apr 1998 22:04:49 -0700
Subject: [PATCH] RUNPIKE quoting fixed

Rev: bin/test_pike.pike:1.13
---
 bin/test_pike.pike | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/test_pike.pike b/bin/test_pike.pike
index 1cf9a9560f..be45085c1e 100755
--- a/bin/test_pike.pike
+++ b/bin/test_pike.pike
@@ -1,6 +1,6 @@
 #!/usr/local/bin/pike
 
-/* $Id: test_pike.pike,v 1.12 1998/04/16 01:10:40 hubbe Exp $ */
+/* $Id: test_pike.pike,v 1.13 1998/04/17 05:04:49 hubbe Exp $ */
 
 #include <simulate.h>
 
@@ -27,7 +27,7 @@ int main(int argc, string *argv)
 
   string *args=backtrace()[0][3];
   args=args[..sizeof(args)-1-argc];
-  add_constant("RUNPIKE",args*" ");
+  add_constant("RUNPIKE",Array.map(args,Process.sh_quote)*" ");
 
   foreach(Getopt.find_all_options(argv,aggregate(
     ({"help",Getopt.NO_ARG,({"-h","--help"})}),
-- 
GitLab