From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JRqi3-0007Nn-Nt for garchives@archives.gentoo.org; Wed, 20 Feb 2008 15:18:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE656E03AF; Wed, 20 Feb 2008 15:18:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C5C50E03AF for ; Wed, 20 Feb 2008 15:18:10 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 60E26660E6 for ; Wed, 20 Feb 2008 15:18:10 +0000 (UTC) Received: from agaffney by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JRqi1-0008Q3-Ae for gentoo-commits@lists.gentoo.org; Wed, 20 Feb 2008 15:18:09 +0000 To: gentoo-commits@lists.gentoo.org From: "Andrew Gaffney (agaffney)" Subject: [gentoo-commits] catalyst r1310 - in trunk: . targets/livecd-stage2 X-VCS-Repository: catalyst X-VCS-Revision: 1310 X-VCS-Files: trunk/ChangeLog trunk/targets/livecd-stage2/livecd-stage2-controller.sh X-VCS-Directories: . targets/livecd-stage2 X-VCS-Committer: agaffney X-VCS-Committer-Name: Andrew Gaffney Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Andrew Gaffney Date: Wed, 20 Feb 2008 15:18:09 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b19e8cf0-b95e-4b93-bdfe-df3cf56ff8d7 X-Archives-Hash: bd23abf2f3efe1b864d7c532a20bab58 Author: agaffney Date: 2008-02-20 15:18:08 +0000 (Wed, 20 Feb 2008) New Revision: 1310 Modified: trunk/ChangeLog trunk/targets/livecd-stage2/livecd-stage2-controller.sh Log: Only call find on libdirs that actually exist. Thanks to Kristoffer in bug 210807 Modified: trunk/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/ChangeLog 2008-02-20 03:36:18 UTC (rev 1309) +++ trunk/ChangeLog 2008-02-20 15:18:08 UTC (rev 1310) @@ -2,6 +2,11 @@ # $Id: $ =20 20 Feb 2008; Andrew Gaffney + targets/livecd-stage2/livecd-stage2-controller.sh: + Only call find on libdirs that actually exist. Thanks to Kristoffer + in bug 210807 + + 20 Feb 2008; Andrew Gaffney modules/generic_stage_target.py: Add warning about -* in foo/use in the spec =20 Modified: trunk/targets/livecd-stage2/livecd-stage2-controller.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/targets/livecd-stage2/livecd-stage2-controller.sh 2008-02-20 03= :36:18 UTC (rev 1309) +++ trunk/targets/livecd-stage2/livecd-stage2-controller.sh 2008-02-20 15= :18:08 UTC (rev 1310) @@ -94,9 +94,13 @@ exec_in_chroot ${clst_fsscript} ;; clean) - find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \; - find ${clst_chroot_path}/usr/lib32 -iname "*.pyc" -exec rm -f {} \; - find ${clst_chroot_path}/usr/lib64 -iname "*.pyc" -exec rm -f {} \; + for x in lib lib32 lib64 + do + if [ -d "${clst_chroot_path}/usr/${x}" ] + then + find "${clst_chroot_path}/usr/${x}" -iname "*.pyc" -exec rm -f {} \; + fi + done ;; bootloader) shift --=20 gentoo-commits@lists.gentoo.org mailing list