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 19AC21382C5 for ; Sat, 3 Mar 2018 02:46:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 417DDE09DF; Sat, 3 Mar 2018 02:46:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 23792E09DF for ; Sat, 3 Mar 2018 02:46:06 +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 3A75F335C2C for ; Sat, 3 Mar 2018 02:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC5F71CC for ; Sat, 3 Mar 2018 02:46:03 +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: <1520045158.f4baf92b9ddf66119e94bc8945b10e3e935e92ad.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: f4baf92b9ddf66119e94bc8945b10e3e935e92ad X-VCS-Branch: master Date: Sat, 3 Mar 2018 02:46:03 +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: a5f4e2e2-5a8c-4250-8baf-d6416f28c220 X-Archives-Hash: da3cd5342b12ae6c83b2c65c9643a0da commit: f4baf92b9ddf66119e94bc8945b10e3e935e92ad Author: Anthony G. Basile gentoo org> AuthorDate: Sat Mar 3 02:45:58 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Mar 3 02:45:58 2018 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=f4baf92b tools-systemd: fix calculation of repo_dir tools-systemd/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-systemd/run.sh b/tools-systemd/run.sh index 170742e3..29869284 100755 --- a/tools-systemd/run.sh +++ b/tools-systemd/run.sh @@ -13,7 +13,7 @@ prepare_confs() { local p=$(( s - 1 )) [[ $p == 0 ]] && p=3 local pstage=stage${p} - local repo_dir="$( cd "$( dirname ${BASH_SOURCE[0]} )../" && pwd )" + local repo_dir="$( dirname $(pwd) )" local template="stage-all.conf.template" # set the template file if stage4 [[ $s == 4 ]] && template=stage4-amd64.spec