summaryrefslogtreecommitdiff
path: root/binutils/ranlib.sh
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/ranlib.sh
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/ranlib.sh')
-rwxr-xr-xbinutils/ranlib.sh2
1 files changed, 1 insertions, 1 deletions
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"