summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-11-13 20:33:19 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-11-13 20:33:19 +0000
commit6c667f28d7c94077d54330d6d37e5a00c500982c (patch)
treef3e5a9a44b56d3d8c151c6bfee51dc5f695dc283 /net-wireless
parentFix a compilation issue using the 32-bit userland with 64-bit kernel on PowerPC. (diff)
downloadgentoo-2-6c667f28d7c94077d54330d6d37e5a00c500982c.tar.gz
gentoo-2-6c667f28d7c94077d54330d6d37e5a00c500982c.tar.bz2
gentoo-2-6c667f28d7c94077d54330d6d37e5a00c500982c.zip
Fix escaping in postinst einfo note
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild
index ff8e9f5d7fa1..2ed43b91d035 100644
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild,v 1.1 2005/11/13 16:34:22 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild,v 1.2 2005/11/13 20:33:19 genstef Exp $
inherit linux-mod
@@ -66,16 +66,16 @@ pkg_postinst() {
einfo "Baselayout will do that with the following in /etc/conf.d/net:"
cat <<EOF
preup() {
- if [ "${IFACE}" = "ath0" ]; then
+ if [ "\${IFACE}" = "ath0" ]; then
/sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
- return $?
+ return \$?
fi
}
postdown() {
- if [ "${IFACE}" = "ath0" ]; then
+ if [ "\${IFACE}" = "ath0" ]; then
/sbin/wlanconfig ath0 destroy
- return $?
+ return \$?
fi
}
EOF