[kupfer: 7/7] Use -- when passing on command line arguments to `realpath'
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 7/7] Use -- when passing on command line arguments to `realpath'
- Date: Tue, 24 Aug 2010 19:38:40 +0000 (UTC)
commit d9be29e83df6c9850ed1ff9cfbe7a61aeb40ae79
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Aug 24 21:16:14 2010 +0200
Use -- when passing on command line arguments to `realpath'
bin/kupfer.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/kupfer.in b/bin/kupfer.in
index 1d477a5..3ff4dc6 100755
--- a/bin/kupfer.in
+++ b/bin/kupfer.in
@@ -53,7 +53,7 @@ _realpaths () {
# Emit realpaths for arguments, separated by NUL bytes
while test $# != 0
do
- echo -ne $(realpath "$1")"\0"
+ echo -ne $(realpath -- "$1")"\0"
shift
done
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]