debian/rules.real: Fix conditional move of include/arch directory

The command needs to return success if the directory doesn't exist,
as it will only be created for the tile architecture.
This commit is contained in:
Ben Hutchings 2016-05-27 11:51:19 +01:00
parent e3c5586a6b
commit 95559b1d5e
1 changed files with 1 additions and 1 deletions

2
debian/rules.real vendored
View File

@ -345,7 +345,7 @@ install-libc-dev_$(ARCH):
# Move include/asm to arch-specific directory
mkdir -p $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)
mv $(OUT_DIR)/include/asm $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
test -d $(OUT_DIR)/include/arch && \
test ! -d $(OUT_DIR)/include/arch || \
mv $(OUT_DIR)/include/arch $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
+$(MAKE_SELF) install-base