summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
-rwxr-xr-xtests/dimension/strings.sh2
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a4069dd..1188e78 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,12 @@ pgo:
$(MAKE) $(AM_MAKEFLAGS) -C libdimension libdimension-pgo.la && \
$(MAKE) $(AM_MAKEFLAGS) -C tests/libdimension check; \
fi
- @rename _pgo_la _la $$(find $(top_builddir)/libdimension/pgo/.libs/)
+ @for pgo in $(top_builddir)/libdimension/pgo/.libs/*; do \
+ replacement="$${pgo/_pgo_la/_la}"; \
+ if [ "$$pgo" != "$$replacement" ]; then \
+ mv "$$pgo" "$$replacement"; \
+ fi \
+ done
all-recursive check-recursive install-recursive installcheck-recursive distdir: pgo
diff --git a/tests/dimension/strings.sh b/tests/dimension/strings.sh
index 58e0751..eba9f0f 100755
--- a/tests/dimension/strings.sh
+++ b/tests/dimension/strings.sh
@@ -20,7 +20,7 @@
#########################################################################
strings=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/strings.pov)
-strings_exp=$(echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))")
+strings_exp=$(/bin/echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))")
if [ "$strings" != "$strings_exp" ]; then
echo "strings.pov tokenized as \"$strings\"" >&2