]> git.proxmox.com Git - qemu.git/commitdiff
Fix install(1) usage to be compatible with OpenBSD's install(1).
authorBrad <brad@comstyle.com>
Sun, 28 Aug 2011 08:01:33 +0000 (04:01 -0400)
committerJustin M. Forbes <jforbes@redhat.com>
Mon, 3 Oct 2011 19:39:58 +0000 (14:39 -0500)
Fix install(1) usage to be compatible with OpenBSD's install(1).

When creating a directory via the -d flag the -p flag cannot be
used at the same time. Also in the context of installing QEMU it
doesn't make sense to use the -p flag anyway so use the [default]
-c flag instead.

Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index c55be366c32877c9249deca3b4ed765526af2b4a..bfea0590e3cd377addc036cdb59cfe72a0caf912 100755 (executable)
--- a/configure
+++ b/configure
@@ -3048,9 +3048,9 @@ echo "TOOLS=$tools" >> $config_host_mak
 echo "ROMS=$roms" >> $config_host_mak
 echo "MAKE=$make" >> $config_host_mak
 echo "INSTALL=$install" >> $config_host_mak
-echo "INSTALL_DIR=$install -d -m0755 -p" >> $config_host_mak
-echo "INSTALL_DATA=$install -m0644 -p" >> $config_host_mak
-echo "INSTALL_PROG=$install -m0755 -p" >> $config_host_mak
+echo "INSTALL_DIR=$install -d -m 0755" >> $config_host_mak
+echo "INSTALL_DATA=$install -c -m 0644" >> $config_host_mak
+echo "INSTALL_PROG=$install -c -m 0755" >> $config_host_mak
 echo "PYTHON=$python" >> $config_host_mak
 echo "CC=$cc" >> $config_host_mak
 echo "CC_I386=$cc_i386" >> $config_host_mak