aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-29 23:56:43 -0500
committerMike Frysinger <vapier@gentoo.org>2009-12-29 23:56:43 -0500
commit5dce875bb717dec8f5293164a5fb6cbc04a1b58a (patch)
tree3a4efb6a640b4fdf8b4a9d6d7dba0ba6783baaaa
parentcrossdev: store ABI in /etc/portage/env/ (diff)
downloadcrossdev-5dce875bb717dec8f5293164a5fb6cbc04a1b58a.tar.gz
crossdev-5dce875bb717dec8f5293164a5fb6cbc04a1b58a.tar.bz2
crossdev-5dce875bb717dec8f5293164a5fb6cbc04a1b58a.zip
cross-fix-root: fix test bashism
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xwrappers/cross-fix-root2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-fix-root b/wrappers/cross-fix-root
index b836810..663db9f 100755
--- a/wrappers/cross-fix-root
+++ b/wrappers/cross-fix-root
@@ -47,7 +47,7 @@ fi
set --
for d in "./${LIBDIR}/pkgconfig/" ./usr/share/pkgconfig/ ; do
- [[ -d $d ]] && set -- "$@" "${d}"
+ [ -d "$d" ] && set -- "$@" "${d}"
done
if [ $# -gt 0 ] ; then
find "$@" -name '*.pc' -print0 | xargs -0 -r \