From e3a8bbaf38877cd5f4b673a14821293bd3323a60 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 20 Oct 2014 11:28:06 +0000 Subject: [PATCH] no trailing "-" dash in file names --- test/widgets/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/widgets/Makefile b/test/widgets/Makefile index dcb3dfa..ba94c02 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -26,7 +26,7 @@ distclean: clean test: check screenshot: - file=${PREFIX}.$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g'); \ + file=${PREFIX}.$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g; s/-$$//;'); \ ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \ mv -f ${IMAGES}/tmp.$$file.png ${IMAGES}/$$file.png -- 1.7.10.4