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 5DAF71382C5 for ; Sat, 3 Mar 2018 02:43:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72C1CE0970; Sat, 3 Mar 2018 02:43:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4D382E0970 for ; Sat, 3 Mar 2018 02:43:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 019B2335C2C for ; Sat, 3 Mar 2018 02:43:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A6B41CC for ; Sat, 3 Mar 2018 02:43:43 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1520045013.eaabba1bec81036b3d21a728fd3aad29d3a90635.blueness@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools-systemd/ X-VCS-Repository: proj/releng X-VCS-Files: tools-systemd/run.sh X-VCS-Directories: tools-systemd/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: eaabba1bec81036b3d21a728fd3aad29d3a90635 X-VCS-Branch: master Date: Sat, 3 Mar 2018 02:43:43 +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-Archives-Salt: 0aa509ff-e4eb-4cee-9fd5-edecdd40d36b X-Archives-Hash: 7c37c0ba665a6324094953da72af59d6 commit: eaabba1bec81036b3d21a728fd3aad29d3a90635 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Mar 3 02:43:33 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Mar 3 02:43:33 2018 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=eaabba1b tools-systemd: fix the name of the template file tools-systemd/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools-systemd/run.sh b/tools-systemd/run.sh index 9066d03d..170742e3 100755 --- a/tools-systemd/run.sh +++ b/tools-systemd/run.sh @@ -16,12 +16,12 @@ prepare_confs() { local repo_dir="$( cd "$( dirname ${BASH_SOURCE[0]} )../" && pwd )" local template="stage-all.conf.template" # set the template file if stage4 - [[ $s == 4 ]] && specfile=stage4-amd64.spec + [[ $s == 4 ]] && template=stage4-amd64.spec local parch="${arch}" [[ "${arch}" == "i686" ]] && parch="x86" - cat ${specfile} | \ + cat ${template} | \ sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \ -e "s:CSTAGE:${cstage}:g" \ -e "s:PSTAGE:${pstage}:g" \