remove useless use of cat for printing config.mak
This `cat config.mak` was added in 37cec08
(Print config.mak to aid
confirmation/verification of settings, 2019-02-02). Replace it by
piping the earlier cat through tee so we get a copy of the config on
stdout as well as written to config.mak.
This commit is contained in:
parent
1c6dee8c16
commit
715a141ade
6
git.spec
6
git.spec
@ -509,7 +509,8 @@ sed -i '/^git-p4/d' command-list.txt
|
||||
|
||||
# Use these same options for every invocation of 'make'.
|
||||
# Otherwise it will rebuild in %%install due to flags changes.
|
||||
cat << \EOF > config.mak
|
||||
# Pipe to tee to aid confirmation/verification of settings.
|
||||
cat << \EOF | tee config.mak
|
||||
V = 1
|
||||
CFLAGS = %{build_cflags}
|
||||
LDFLAGS = %{build_ldflags}
|
||||
@ -537,9 +538,6 @@ GIT_PROVE_OPTS = --verbose --normalize %{?_smp_mflags} --formatter=TAP::Formatte
|
||||
GIT_TEST_OPTS = -x --verbose-log
|
||||
EOF
|
||||
|
||||
# Print config.mak to aid confirmation/verification of settings
|
||||
cat config.mak
|
||||
|
||||
# Filter bogus perl requires
|
||||
# packed-refs comes from a comment in contrib/hooks/update-paranoid
|
||||
%if %{use_new_rpm_filters}
|
||||
|
Loading…
Reference in New Issue
Block a user