From f893589578f5ccc99e9948cbc7d162f9ef1bdfb2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 30 Apr 2004 07:37:15 +0000 Subject: [PATCH] Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces --- binutils/ChangeLog | 6 +++++- binutils/ranlib.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f52e14b1748..d87b3a29fb5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,4 +1,8 @@ -2004-04-27 John Paul Wallington +2004-04-30 Michael Deutschmann + + * ranlib.sh: Quote $1 argument in case it contains spaces. + +2004-04-27 John Paul Wallington * objcopy.c (copy_usage, strip_usage): Fix spelling. diff --git a/binutils/ranlib.sh b/binutils/ranlib.sh index 2b6fbc479c6..9a2248f1430 100755 --- a/binutils/ranlib.sh +++ b/binutils/ranlib.sh @@ -1,3 +1,3 @@ #!/bin/sh # A simple ranlib script, to use less disk space than a ranlib program. -ar s $1 +ar s "$1" -- 2.30.2