summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-04-24 13:06:22 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-04-24 13:06:22 +0000
commitcbea6582ba4cdc09d4170b914341a39accfb2c84 (patch)
tree9b22fb73fecbcebf253bc66e4cafd75b9c13628a
parentfix wrapper script (diff)
downloadgentoo-2-cbea6582ba4cdc09d4170b914341a39accfb2c84.tar.gz
gentoo-2-cbea6582ba4cdc09d4170b914341a39accfb2c84.tar.bz2
gentoo-2-cbea6582ba4cdc09d4170b914341a39accfb2c84.zip
fix wrapper script
(Portage version: 2.1.5_rc4)
-rw-r--r--sys-block/megamgr/ChangeLog5
-rwxr-xr-xsys-block/megamgr/files/megamgr2
2 files changed, 5 insertions, 2 deletions
diff --git a/sys-block/megamgr/ChangeLog b/sys-block/megamgr/ChangeLog
index 469a03c1e862..582701317e05 100644
--- a/sys-block/megamgr/ChangeLog
+++ b/sys-block/megamgr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-block/megamgr
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/ChangeLog,v 1.1 2008/04/24 08:39:39 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/megamgr/ChangeLog,v 1.2 2008/04/24 13:06:22 wschlich Exp $
+
+ 24 Apr 2008; Wolfram Schlich <wschlich@gentoo.org> files/megamgr:
+ fix wrapper script
*megamgr-5.20 (24 Apr 2008)
diff --git a/sys-block/megamgr/files/megamgr b/sys-block/megamgr/files/megamgr
index 7e9eb5127ac2..9c219f1fdd34 100755
--- a/sys-block/megamgr/files/megamgr
+++ b/sys-block/megamgr/files/megamgr
@@ -21,4 +21,4 @@ if ! mknod "${megadev_node}" c "${megadev_major}" 0; then
fi
# Start the real megamgr binary
-"${0##*/}/megamgr.bin" "${@}"
+"${0%/*}/megamgr.bin" "${@}"