From 9c1fc5bb9c0c4ebb556e5823767b2d51a7316bc6 Mon Sep 17 00:00:00 2001
From: Gerhard Gonter <ggonter@gmail.com>
Date: Thu, 5 Jan 2017 14:49:03 +0100
Subject: [PATCH] wrong way to call system()

---
 textarchive/vlib001.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textarchive/vlib001.pl b/textarchive/vlib001.pl
index 42d7532..2a789b9 100755
--- a/textarchive/vlib001.pl
+++ b/textarchive/vlib001.pl
@@ -139,8 +139,8 @@ else
 # &usage ('no project specified') unless (defined ($project));
 unless (defined ($project))
 {
-  print "no project specified; check these:\n";
-  system ('ls -ls "$TAPROJ"');
+  print "no project specified; check these (TAPROJ=[$TAPROJ]):\n";
+  system ('ls', '-ls', $TAPROJ);
   exit (2);
 }
 
-- 
GitLab