1 |
commit: eaabba1bec81036b3d21a728fd3aad29d3a90635 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 3 02:43:33 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 02:43:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=eaabba1b |
7 |
|
8 |
tools-systemd: fix the name of the template file |
9 |
|
10 |
tools-systemd/run.sh | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/tools-systemd/run.sh b/tools-systemd/run.sh |
14 |
index 9066d03d..170742e3 100755 |
15 |
--- a/tools-systemd/run.sh |
16 |
+++ b/tools-systemd/run.sh |
17 |
@@ -16,12 +16,12 @@ prepare_confs() { |
18 |
local repo_dir="$( cd "$( dirname ${BASH_SOURCE[0]} )../" && pwd )" |
19 |
local template="stage-all.conf.template" |
20 |
# set the template file if stage4 |
21 |
- [[ $s == 4 ]] && specfile=stage4-amd64.spec |
22 |
+ [[ $s == 4 ]] && template=stage4-amd64.spec |
23 |
|
24 |
local parch="${arch}" |
25 |
[[ "${arch}" == "i686" ]] && parch="x86" |
26 |
|
27 |
- cat ${specfile} | \ |
28 |
+ cat ${template} | \ |
29 |
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \ |
30 |
-e "s:CSTAGE:${cstage}:g" \ |
31 |
-e "s:PSTAGE:${pstage}:g" \ |