From b977aa0eac12c1d80b35e8d8a7a429377bcb6c7c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 5 Nov 2014 16:21:34 +0000 Subject: [PATCH] quote URLs an URL may contain shell seperators, as &; --- test/widgets/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/widgets/Makefile b/test/widgets/Makefile index e693a15..f1d13f2 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -28,7 +28,7 @@ test: check screenshot: file=${PREFIX}.$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g; s/-$$//;'); \ - ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \ + ${PHANTOMJS} ${PROG} "${PHANTOMJS_URL}" ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \ mv -f ${IMAGES}/tmp.$$file.png ${IMAGES}/$$file.png screenshots: clean estimate-time iframe -- 1.7.10.4