Skip to contentSkip to conversation

configure: fix handling of --docdir parameter

PATCH In review Bruce Rogers 1 participant 2 messages Oct 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: fix handling of --docdir parameter

Commit ca8c0909f01 changed qemu_docdir to be docdir, then later uses the qemu_docdir name in the final assignment. Unfortunately, one instance of qemu_docdir was missed: the one which comes from the --docdir parameter. This patch restores the proper handling of the --docdir parameter.

Fixes ca8c0909f01 ("configure: build docdir like other suffixed

directories")

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index f839c2a557..07acd01a25 100755
@@ -971,7 +971,7 @@ for opt do
   ;;
   --with-suffix=*) qemu_suffix="$optarg"
   ;;
-  --docdir=*) qemu_docdir="$optarg"
+  --docdir=*) docdir="$optarg"
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
Signature · 1 line
2.28.0
#1 lore raw
Quoted 21 lines · Bruce Rogers

Commit ca8c0909f01 changed qemu_docdir to be docdir, then later uses the
qemu_docdir name in the final assignment. Unfortunately, one instance of
qemu_docdir was missed: the one which comes from the --docdir parameter.
This patch restores the proper handling of the --docdir parameter.

Fixes ca8c0909f01 ("configure: build docdir like other suffixed

directories")

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index f839c2a557..07acd01a25 100755

configure for opt do · line 977

Quoted 8 lines
configure +1 -1
@@ -971,7 +971,7 @@ for opt do
   ;;
   --with-suffix=*) qemu_suffix="$optarg"
   ;;
-  --docdir=*) qemu_docdir="$optarg"
+  --docdir=*) docdir="$optarg"
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;

Oops! I got the wrong CC's put on this. Let me resend with the right interested parties. Sorry for the noise.

- Bruce