From 069bb4019f9dd2698f58030a37474afbf2037301 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 26 Mar 2008 09:31:03 +0000 Subject: bash: fix postinst to not touch host system git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4120 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/bash/bash.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/packages/bash/bash.inc') diff --git a/meta/packages/bash/bash.inc b/meta/packages/bash/bash.inc index 80aedfa1c..b67e8bbe3 100644 --- a/meta/packages/bash/bash.inc +++ b/meta/packages/bash/bash.inc @@ -20,7 +20,7 @@ do_configure () { } pkg_postinst () { - touch ${sysconfdir}/shells - grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells - grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells + touch $D${sysconfdir}/shells + grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells + grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells } -- cgit v1.2.3