Skip to contentSkip to conversation

config.status: Pass extra parameters

PATCH In review Dr. David Alan Gilbert (git) 3 participants 4 messages Jan 12, 2016 – Mar 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.status: Pass extra parameters

From: "Dr. David Alan Gilbert" <[email protected]>

This allows you to do:
./config.status --the-option-you-forgot

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 44ac9ab..9a9e978 100755
@@ -5954,7 +5954,7 @@ cat <<EOD >config.status
 EOD
 printf "exec" >>config.status
 printf " '%s'" "$0" "$@" >>config.status
-echo >>config.status
+echo ' "$@"' >>config.status
 chmod +x config.status
 
 rm -r "$TMPDIR1"
Signature · 1 line
2.5.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

This allows you to do:
./config.status --the-option-you-forgot

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Regards,
Daniel

Signature · 4 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
#2 lore raw
In reply to Dr. David Alan Gilbert (git)

Can someone pick this tiny patch up that I sent in January:

(adding in qemu-trivial)

Dave

Quoted 27 lines · * Dr. David Alan Gilbert (git) ([email protected]) wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

This allows you to do:
./config.status --the-option-you-forgot

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 44ac9ab..9a9e978 100755
@@ -5954,7 +5954,7 @@ cat <<EOD >config.status
 EOD
 printf "exec" >>config.status
 printf " '%s'" "$0" "$@" >>config.status
-echo >>config.status
+echo ' "$@"' >>config.status
 chmod +x config.status
 
 rm -r "$TMPDIR1"
Signature · 1 line
2.5.0

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

#3 lore raw
Quoted 3 lines · Dr. David Alan Gilbert

Can someone pick this tiny patch up that I sent in January:

(adding in qemu-trivial)

Will do.

Paolo

Quoted 1 line

Dave