From: Wolfram Schneider Date: Mon, 20 Oct 2014 11:28:06 +0000 (+0000) Subject: no trailing "-" dash in file names X-Git-Tag: 1.0.0~156^2~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e3a8bbaf38877cd5f4b673a14821293bd3323a60;p=mkws-moved-to-github.git no trailing "-" dash in file names --- 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