From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87EDC138351 for ; Fri, 3 Apr 2020 07:48:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D233E0AC7; Fri, 3 Apr 2020 07:48:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FE14E0AC7 for ; Fri, 3 Apr 2020 07:48:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6725334EDF3 for ; Fri, 3 Apr 2020 07:48:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 310301BC for ; Fri, 3 Apr 2020 07:48:19 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1585900065.3aebcea42d11dd507edb2b2ecca2c3053ee2d435.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/functions.sh X-VCS-Directories: targets/support/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 3aebcea42d11dd507edb2b2ecca2c3053ee2d435 X-VCS-Branch: master Date: Fri, 3 Apr 2020 07:48:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8280ea6b-7557-4c01-a332-6637c145944a X-Archives-Hash: 6e7e5361188c560080f47a54d38bf4b2 commit: 3aebcea42d11dd507edb2b2ecca2c3053ee2d435 Author: Matt Turner gentoo org> AuthorDate: Fri Apr 3 03:44:43 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Apr 3 07:47:45 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3aebcea4 targets: Remove some unnecessary echos Signed-off-by: Matt Turner gentoo.org> targets/support/functions.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/targets/support/functions.sh b/targets/support/functions.sh index a256a30c..fd446b4b 100755 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -4,14 +4,12 @@ copy_to_chroot() { local src_file=$1 local dest_dir=${clst_chroot_path}${2:-/tmp} mkdir -p ${dest_dir} - echo "copying ${src_file##*/} to ${dest_dir}" cp -pPR "${src_file}" "${dest_dir}"/ } delete_from_chroot(){ if [ -e ${clst_chroot_path}${1} ] then - echo "removing ${clst_chroot_path}${1} from the chroot" rm -f ${clst_chroot_path}${1} fi } @@ -23,14 +21,13 @@ exec_in_chroot() { local file_name=$(basename ${1}) local destdir="/tmp" - echo "Copying ${file_name} to ${destdir}" copy_to_chroot ${1} ${destdir} copy_to_chroot ${clst_shdir}/support/chroot-functions.sh \ ${destdir} chroot_path=${clst_chroot_path} - echo "Ensure the file has the executable bit set" + # Ensure the file has the executable bit set chmod +x ${chroot_path}/${destdir}/${file_name} echo "Running ${file_name} in chroot:"