relocatable-prog: Fix config.libpath failure (regression 2024-08-24).
authorBruno Haible <bruno@clisp.org>
Mon, 26 Aug 2024 19:29:03 +0000 (21:29 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 26 Aug 2024 19:29:03 +0000 (21:29 +0200)
* build-aux/config.libpath: Expect 2 arguments, not 1.

ChangeLog
build-aux/config.libpath

index 1b047696ee5a1c9876d6f368e556e7299b1659f2..80e771c304273851d0ebf0e102ddbd9328b7b390 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-26  Bruno Haible  <bruno@clisp.org>
+
+       relocatable-prog: Fix config.libpath failure (regression 2024-08-24).
+       * build-aux/config.libpath: Expect 2 arguments, not 1.
+
 2024-08-26  Bruno Haible  <bruno@clisp.org>
 
        Fix compilation errors with clang that masquerades as gcc 13.
index ba0f94426b2b2ecf8b089c36aef03b98895d5e87..a4da78823ce4df02ea30c371ac582ef142ee79db 100755 (executable)
@@ -94,10 +94,10 @@ while test $# -gt 0; do
   esac
 done
 
-if test $# -gt 1; then
+if test $# -gt 2; then
   func_fatal_error "too many arguments"
 fi
-if test $# -lt 1; then
+if test $# -lt 2; then
   func_fatal_error "too few arguments"
 fi