From: Nick Clifton Date: Fri, 30 Apr 2004 07:37:15 +0000 (+0000) Subject: Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f893589578f5ccc99e9948cbc7d162f9ef1bdfb2;p=binutils-gdb.git Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces --- 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"