summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-04-30 07:37:15 +0000
committerNick Clifton <nickc@redhat.com>2004-04-30 07:37:15 +0000
commitf893589578f5ccc99e9948cbc7d162f9ef1bdfb2 (patch)
tree3b6b4cc0c0595e5f024ddedb51cb456994b80137 /binutils
parent520ceea48951e62dc861f64c1667ec21f11eb931 (diff)
downloadbinutils-gdb-f893589578f5ccc99e9948cbc7d162f9ef1bdfb2.tar.gz
Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rwxr-xr-xbinutils/ranlib.sh2
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 <jpw@gnu.org>
+2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
+
+ * ranlib.sh: Quote $1 argument in case it contains spaces.
+
+2004-04-27 John Paul Wallington <jpw@gnu.org>
* 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"