diff options
author | Anssi Hannula <anssi@mandriva.org> | 2010-01-24 11:43:27 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2010-01-24 11:43:27 +0000 |
commit | bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7 (patch) | |
tree | a3c944dba11fc9488768f6021e2f3b31a1f37530 /Makefile | |
parent | 8c492167a44fb84b5424773fb897c1515b3b2e70 (diff) | |
download | multiarch-utils-bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7.tar multiarch-utils-bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7.tar.gz multiarch-utils-bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7.tar.bz2 multiarch-utils-bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7.tar.xz multiarch-utils-bb99de6b1bba3192ab81db6a65bdb8e8e568c6b7.zip |
fix broken check for rpm/macros.d directory (from Per Øyvind Karlsen)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ install: -mkdir -p $(DESTDIR)/etc/rpm for f in $(RPM_MACRO_FILES); do \ perl -pe 's/%MULTIARCH_DISTRO%/$(MULTIARCH_DIST)/' macros.$$f > $(DESTDIR)/etc/rpm/macros.$$f; \ - if [[ -f /etc/rpm/macros.d/mandriva-release.macros ]]; then \ + if [[ -d /etc/rpm/macros.d ]]; then \ mkdir -p $(DESTDIR)/etc/rpm/macros.d; \ mv $(DESTDIR)/etc/rpm/macros.$$f $(DESTDIR)/etc/rpm/macros.d/$$f.macros; \ fi; \ |