summaryrefslogtreecommitdiff
path: root/lib/am/ltlib.am
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-05-13 20:09:07 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-05-13 20:09:07 +0000
commit505b61509f20d87c481d2963cb81cf24138f5c45 (patch)
treea971986cb0884f4e28c26ca51bc37328c63ee5f2 /lib/am/ltlib.am
parent0d2f5929ff0b7dfbcc9b5d502918cdf939a922fa (diff)
downloadautomake-505b61509f20d87c481d2963cb81cf24138f5c45.tar.gz
Work even with FreeBSD "make", which uses sh -e and thus errors-out if
a simple-command fails.
Diffstat (limited to 'lib/am/ltlib.am')
-rw-r--r--lib/am/ltlib.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am
index 0f6cc490c..924a88276 100644
--- a/lib/am/ltlib.am
+++ b/lib/am/ltlib.am
@@ -86,7 +86,7 @@ clean-%DIR%LTLIBRARIES:
## directory where the shared object is created.
@list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" = "$$p" && dir=.; \
+ test "$$dir" != "$$p" || dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done