From 5526adb01762bb46e3018c5d1407a50dbd437d7c Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 4 Sep 2000 06:29:21 +0000 Subject: [PATCH] * ltmain.in (compile, need_lock): Don't create nor remove lock files in dry runs. --- ChangeLog | 3 +++ ltmain.in | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 473a4017e..4420736b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-04 Alexandre Oliva + * ltmain.in (compile, need_lock): Don't create nor remove lock + files in dry runs. + * libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use lt_dlopenext() instead. diff --git a/ltmain.in b/ltmain.in index 72b319cf5..89410a005 100644 --- a/ltmain.in +++ b/ltmain.in @@ -484,7 +484,7 @@ if test -z "$show_help"; then # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then - until ln "$0" "$lockfile" 2>/dev/null; do + until $run ln "$0" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done @@ -706,7 +706,7 @@ compiler." # Unlock the critical section if it was locked if test "$need_locks" != no; then - $rm "$lockfile" + $run $rm "$lockfile" fi exit 0 -- 2.47.3