diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2008-11-26 14:27:45 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-02 11:48:21 +0200 |
commit | 5778b361e81ebdd9b4cbe66d82dd04955dc10bc4 (patch) | |
tree | bf551c29d224b51a86119ffd91adb8c1b156511e /ubi-utils | |
parent | c3d328ca27b31dad62ab7ca3edf55087352d27a8 (diff) |
Separate '-m' and the mode with a space when invoking 'install'
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>
Diffstat (limited to 'ubi-utils')
-rw-r--r-- | ubi-utils/Makefile | 2 | ||||
-rw-r--r-- | ubi-utils/new-utils/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 4cca316..63058e1 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -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: diff --git a/ubi-utils/new-utils/Makefile b/ubi-utils/new-utils/Makefile index 6fce7c6..133dd66 100644 --- a/ubi-utils/new-utils/Makefile +++ b/ubi-utils/new-utils/Makefile @@ -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 \ |