From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-901403-garchives=archives.gentoo.org@lists.gentoo.org> 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 2BB40138332 for <garchives@archives.gentoo.org>; Thu, 15 Sep 2016 00:57:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 117E8E0AD7; Thu, 15 Sep 2016 00:57:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B44D4E0AD7 for <gentoo-commits@lists.gentoo.org>; Thu, 15 Sep 2016 00:57:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BFFF340A9E for <gentoo-commits@lists.gentoo.org>; Thu, 15 Sep 2016 00:57:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B44F7247C for <gentoo-commits@lists.gentoo.org>; Thu, 15 Sep 2016 00:57:01 +0000 (UTC) From: "Richard Farina" <zerochaos@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" <zerochaos@gentoo.org> Message-ID: <1473868818.9b8a61e03e3062335a369cd34146cd26eb675c1b.zerochaos@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/stage1/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/stage1/stage1-controller.sh X-VCS-Directories: targets/stage1/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 9b8a61e03e3062335a369cd34146cd26eb675c1b X-VCS-Branch: master Date: Thu, 15 Sep 2016 00:57:01 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87d6d1f2-3ee0-45be-8c03-edda66e2099e X-Archives-Hash: 3e9133e9e833d25611489895738198a1 commit: 9b8a61e03e3062335a369cd34146cd26eb675c1b Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org> AuthorDate: Wed Sep 14 16:00:18 2016 +0000 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Wed Sep 14 16:00:18 2016 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9b8a61e0 quotes to make shellcheck happy targets/stage1/stage1-controller.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh index 0f44e97..3ad0ed5 100755 --- a/targets/stage1/stage1-controller.sh +++ b/targets/stage1/stage1-controller.sh @@ -1,29 +1,29 @@ #!/bin/bash -source ${clst_shdir}/support/functions.sh +source "${clst_shdir}/support/functions.sh" -case $1 in +case "$1" in enter) ;; run) - cp ${clst_shdir}/stage1/build.py ${clst_chroot_path}/tmp + cp "${clst_shdir}/stage1/build.py" "${clst_chroot_path}/tmp" # Setup "ROOT in chroot" dir - install -d ${clst_chroot_path}/${clst_root_path}/etc - install -d ${clst_chroot_path}/${clst_root_path}${clst_port_conf} + install -d "${clst_chroot_path}/${clst_root_path}/etc" + install -d "${clst_chroot_path}/${clst_root_path}${clst_port_conf}" # Setup make.conf and make.profile link in "ROOT in chroot": - copy_to_chroot ${clst_chroot_path}${clst_make_conf} ${clst_root_path}${clst_port_conf} + copy_to_chroot "${clst_chroot_path}${clst_make_conf}" "${clst_root_path}${clst_port_conf}" # Enter chroot, execute our build script exec_in_chroot \ - ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh \ + "${clst_shdir}/${clst_target}/${clst_target}-chroot.sh" \ || exit 1 ;; preclean) - exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh || exit 1 + exec_in_chroot "${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh" || exit 1 ;; clean)