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 /sys-block/megamgr/files
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)
Diffstat (limited to 'sys-block/megamgr/files')
-rwxr-xr-xsys-block/megamgr/files/megamgr2
1 files changed, 1 insertions, 1 deletions
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" "${@}"