mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 22:50:39 +01:00
make: Replace cat by $(CAT)
This commit is contained in:
parent
9f4e02e618
commit
26baa6a3b4
14 changed files with 34 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue