aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timothy Redaelli <drizzt@gentoo.org> 2006-12-28 20:32:00 +0000
committerAvatar Timothy Redaelli <drizzt@gentoo.org> 2006-12-28 20:32:00 +0000
commit391f4a664fbc63c5da1165a0f802939343b18468 (patch)
tree76911eef756ad1dfbcf8843c71258bdd7a12b1a8
parent1e161df7be498bf1e2820abc9de7310b4a83f7ca (diff)
downloadpaludis-391f4a664fbc63c5da1165a0f802939343b18468.tar.gz
paludis-391f4a664fbc63c5da1165a0f802939343b18468.tar.xz
Fixed quoting.
-rwxr-xr-xebuild/utils/canonicalise4
-rwxr-xr-xebuild/utils/getfsize4
-rwxr-xr-xebuild/utils/getmtime4
3 files changed, 6 insertions, 6 deletions
diff --git a/ebuild/utils/canonicalise b/ebuild/utils/canonicalise
index d070f34..b186eba 100755
--- a/ebuild/utils/canonicalise
+++ b/ebuild/utils/canonicalise
@@ -1,6 +1,6 @@
#!/bin/bash
case $(uname -s) in
- FreeBSD) realpath $@ ;;
- *) readlink -f $@ ;;
+ FreeBSD) realpath "$@" ;;
+ *) readlink -f "$@" ;;
esac
diff --git a/ebuild/utils/getfsize b/ebuild/utils/getfsize
index 80edaad..38a271b 100755
--- a/ebuild/utils/getfsize
+++ b/ebuild/utils/getfsize
@@ -1,5 +1,5 @@
#!/bin/bash
case $(uname -s) in
- FreeBSD) stat -f '%z' $@ ;;
- *) stat -c '%s' $@ ;;
+ FreeBSD) stat -f '%z' "$@" ;;
+ *) stat -c '%s' "$@" ;;
esac
diff --git a/ebuild/utils/getmtime b/ebuild/utils/getmtime
index 81a78e4..88a74b2 100755
--- a/ebuild/utils/getmtime
+++ b/ebuild/utils/getmtime
@@ -1,5 +1,5 @@
#!/bin/bash
case $(uname -s) in
- FreeBSD) stat -f '%m' $@ ;;
- *) stat -c '%Y' $@ ;;
+ FreeBSD) stat -f '%m' "$@" ;;
+ *) stat -c '%Y' "$@" ;;
esac