Fix errors caused by attempting to move nonexistent files

Estimated hours taken: 0.2
Branches: main

scripts/Mmake.rules:
	Fix errors caused by attempting to move nonexistent files
	when installing libraries.
This commit is contained in:
Simon Taylor
2002-08-24 11:54:26 +00:00
parent a639689ae5
commit 634193dc4b

View File

@@ -489,6 +489,7 @@ lib%.install_grades:
for file in x $$grade_files; do \
if [ "$$file" != "x" ]; then \
mv -f $$file tmp_dir > /dev/null 2>&1; \
true; \
fi; \
done && \
{ mv -f $(deps_subdir)$*.dep $(deps_subdir)$*.dv \
@@ -511,6 +512,7 @@ lib%.install_grades:
for file in x $$grade_files; do \
if [ "$$file" != "x" ]; then \
mv -f tmp_dir/`basename $$file` $$file > /dev/null 2>&1; \
true; \
fi; \
done && \
{ mv -f tmp_dir/*.dep tmp_dir/*.dv $(deps_subdir).; \