summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-12-22 04:25:34 +0000
committerMark Guertin <gerk@gentoo.org>2002-12-22 04:25:34 +0000
commitb03a2d5a9ebbe9588387fddb06e70c15c0f2cdd2 (patch)
tree23033f2e30868ae3fef437606c8be074afcf5d3a
parentremoved sparc64 - silly (diff)
downloadgentoo-2-b03a2d5a9ebbe9588387fddb06e70c15c0f2cdd2.tar.gz
gentoo-2-b03a2d5a9ebbe9588387fddb06e70c15c0f2cdd2.tar.bz2
gentoo-2-b03a2d5a9ebbe9588387fddb06e70c15c0f2cdd2.zip
had macos/osx revered (oops)
-rw-r--r--sys-apps/yaboot/files/yabootconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/yaboot/files/yabootconfig b/sys-apps/yaboot/files/yabootconfig
index ee9e13e61bb8..5efc4a5cf5da 100644
--- a/sys-apps/yaboot/files/yabootconfig
+++ b/sys-apps/yaboot/files/yabootconfig
@@ -268,11 +268,11 @@ dualboot()
for h in $HFS
do
if [ !-x `hpmount -r $h` > /dev/null 2>&1 ] ; then
- if [ !-x `command hpls mach_kernel 2>/dev/null` > /dev/null 2>&1 ] ; then
+ if [ `hpls mach_kernel 2>/dev/null` ] ; then
[ "$QUIET" = 0 ] && echo "Found possible OS X partition at $h"
OSX=$h
fi
- if [ !-x `command hpls "System Folder" 2>/dev/null` > /dev/null 2>&1 ] ; then
+ if [ "`hpls "System Folder" 2>/dev/null`" ] ; then
[ "$QUIET" = 0 ] && echo "Found possible Mac OS partition at $h"
MACOS=$h
fi