]> www.infradead.org Git - mtd-utils.git/commitdiff
Separate '-m' and the mode with a space when invoking 'install'
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Wed, 26 Nov 2008 13:27:45 +0000 (14:27 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 2 Dec 2008 09:48:21 +0000 (11:48 +0200)
Some 'install' versions (e.g. this of OpenEmbedded) require the mode
to be a separate argument and don't understand the '-m0755' syntax:

  .../staging/x86_64-linux/usr/bin/install-sh: ./-m0755 does not exist.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Makefile
mkfs.ubifs/Makefile
ubi-utils/Makefile
ubi-utils/new-utils/Makefile

index 796c31bd48409dbe96d8547f780fdc833d196116..8319599ba1bc511ae22612ed801237a0ff6fed59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ $(BUILDDIR)/fectest: $(BUILDDIR)/fectest.o $(BUILDDIR)/crc32.o $(BUILDDIR)/fec.o
 
 install: ${TARGETS}
        mkdir -p ${DESTDIR}/${SBINDIR}
-       install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
+       install -m 0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
        mkdir -p ${DESTDIR}/${MANDIR}/man1
        gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
        $(MAKE) -C $(BUILDDIR)/ubi-utils install
index a327eeecd6998428289840b5c003675ac7482a83..f802bff96366f7765e203ec9627b49e733f759ed 100644 (file)
@@ -20,4 +20,4 @@ cscope:
 
 install: ${TARGETS}
        mkdir -p ${DESTDIR}/${SBINDIR}
-       install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
+       install -m 0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
index 4cca316f41c562080531e21fdc905991d033a82b..63058e12d259b84c7f4ac690d4d28bda05b5f945 100644 (file)
@@ -75,7 +75,7 @@ pfi2bin: pfi2bin.o peb.o error.o list.o crc32.o libubigen.o bootenv.o \
 
 install: ${TARGETS}
        mkdir -p ${DESTDIR}/${SBINDIR}
-       install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
+       install -m 0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
        (cd perl && install ${PERLPROGS} ${DESTDIR}/${SBINDIR}/)
 
 uninstall:
index 6fce7c622929b3ab088776f6deb10a569e09e4d8..133dd66c0dc81c1a468b10b7598d4269eb282f03 100644 (file)
@@ -66,7 +66,7 @@ clean:
 
 install: ${UTILS}
        mkdir -p ${DESTDIR}/${SBINDIR}
-       install -m0755 ${UTILS} ${DESTDIR}/${SBINDIR}/
+       install -m 0755 ${UTILS} ${DESTDIR}/${SBINDIR}/
 
 uninstall:
        for file in ${UTILS}; do \