Fix install(1) usage to be compatible with OpenBSD's install(1).
PATCH 1/1 Fix install(1) usage to be compatible with OpenBSD's install(1).
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 <[email protected]>
--- configure | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
configure +3 -3
@@ -3081,9 +3081,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
Signature · 7 lines
1.7.6 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Anthony Liguori
AppliedQuoted 8 lines · Brad
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<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 22 lines
--- configure | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)configure +3
-3@@ -3081,9 +3081,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