make: Replace cat by $(CAT)

This commit is contained in:
Jan Lindemann 2012-02-04 11:06:22 +00:00 committed by Jan Lindemann
commit 26baa6a3b4
14 changed files with 34 additions and 33 deletions

View file

@ -171,7 +171,7 @@ define check_cvs_sync
cvs update -dP ;\
cvs status > cvs_status.tmp 2>&1 ;\
if [ $$? != 0 ]; then \
cat cvs_status.tmp ;\
$(CAT) cvs_status.tmp ;\
echo -e "\n======== cvs status failed, giving up." >&2 ;\
exit 1 ;\
fi ;\
@ -216,7 +216,7 @@ try-reinstall:
$(check_reinstall_old)
rpm-update-release:
@if [ "`cat HASH`" != "$(HASH)" ]; then \
@if [ "`$(CAT) HASH`" != "$(HASH)" ]; then \
echo + source was modified ;\
$(increase_build_number) ;\
elif ! $(check_reinstall_old); then \
@ -225,7 +225,7 @@ rpm-update-release:
fi
rpm-check-release:
@if [ "`cat HASH`" != "$(HASH)" ]; then \
@if [ "`$(CAT) HASH`" != "$(HASH)" ]; then \
echo + source was modified ;\
else \
echo + source is unmodified ;\
@ -241,7 +241,7 @@ rpm-release: rpm-update-release
if ! grep -q $(LAST_RPM_VERSION_FILE) CVS/Entries; then \
cvs add $(LAST_RPM_VERSION_FILE) ;\
fi ;\
cvs commit -m "o `cat $(LAST_RPM_VERSION_FILE)`" $(LAST_RPM_VERSION_FILE) ;\
cvs commit -m "o `$(CAT) $(LAST_RPM_VERSION_FILE)`" $(LAST_RPM_VERSION_FILE) ;\
else \
echo "+ version matches latest relea$(SED) rpm version" ;\
fi