summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-04-24 13:04:25 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-04-24 13:04:25 +0000
commitbaecd10b56a32bd389668f31d678094b341e9293 (patch)
tree1d73c35aac44cfd2a9b6ce148250314099131c6d /sys-block/megarc
parentstable x86, bug 219136 (diff)
downloadgentoo-2-baecd10b56a32bd389668f31d678094b341e9293.tar.gz
gentoo-2-baecd10b56a32bd389668f31d678094b341e9293.tar.bz2
gentoo-2-baecd10b56a32bd389668f31d678094b341e9293.zip
fix wrapper script
(Portage version: 2.1.5_rc4)
Diffstat (limited to 'sys-block/megarc')
-rw-r--r--sys-block/megarc/ChangeLog5
-rwxr-xr-xsys-block/megarc/files/megarc6
2 files changed, 5 insertions, 6 deletions
diff --git a/sys-block/megarc/ChangeLog b/sys-block/megarc/ChangeLog
index ecad2b96ece3..91a48ee60baa 100644
--- a/sys-block/megarc/ChangeLog
+++ b/sys-block/megarc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-block/megarc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/megarc/ChangeLog,v 1.1 2008/04/23 21:32:43 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/megarc/ChangeLog,v 1.2 2008/04/24 13:04:25 wschlich Exp $
+
+ 24 Apr 2008; Wolfram Schlich <wschlich@gentoo.org> files/megarc:
+ fix wrapper script
*megarc-1.11 (23 Apr 2008)
diff --git a/sys-block/megarc/files/megarc b/sys-block/megarc/files/megarc
index 7497b686fe6a..19ccc55a0df5 100755
--- a/sys-block/megarc/files/megarc
+++ b/sys-block/megarc/files/megarc
@@ -33,11 +33,7 @@ elif ! cd "${megarc_tmpdir}"; then
fi
# Start the real megarc binary
-"${0##*/}/megarc.bin" "${@}"
+"${0%/*}/megarc.bin" "${@}"
# Cleanup
-echo "Removing temporary megarc working directory"
rm -rf "${megarc_tmpdir}"
-
-# That's all
-echo "Finished. Have a nice day."