commit: 3aebcea42d11dd507edb2b2ecca2c3053ee2d435 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Fri Apr 3 03:44:43 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> 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 <mattst88 <AT> 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:"