From owner-freebsd-small Mon Feb 4 2:37:56 2002 Delivered-To: freebsd-small@freebsd.org Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by hub.freebsd.org (Postfix) with ESMTP id 21EBC37B420 for ; Mon, 4 Feb 2002 02:37:52 -0800 (PST) Received: from line82.adsl-dynamic.inode.at ([213.229.7.82] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 16XgVS-0004Gu-00 for small@freebsd.org; Mon, 04 Feb 2002 11:37:50 +0100 Message-ID: <3C5E6460.2E15D49B@inode.at> Date: Mon, 04 Feb 2002 11:37:20 +0100 From: Michael Bretterklieber Organization: JAWA Management Software GmbH X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: small@freebsd.org Subject: 4.5R build problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have problems to build picobsd on 4.5R. the picobsd-script in the build-directory doesn't work correctly. I can't set any value with the dialog. If I choose a type then after choosing it the value is lost. I debugged It and found that it works if I remove the () from the dialog ... main_dialog() ...... case ${ans} in T) ... # (dialog --menu "Setup the type of configuration" 12 70 5 $l \ # 2> ${c_reply} && set_type "`cat ${c_reply}`" ${SITE} ) || true ^^^^ ^^doesn't work dialog --menu "Setup the type of configuration" 12 70 5 $l \ 2> ${c_reply} && set_type "`cat ${c_reply}`" ${SITE} ^^^^works It seems that the () produce implicit a subshell, because in the set_type-function the values are correct set and after leaving this function the values are lost. bye, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message