Changeset 1097


Ignore:
Timestamp:
Oct 10, 2008, 1:54:48 AM (16 years ago)
Author:
broder
Message:

Correctly quote arguments to the installer in sipb-xen-vmcontrol

Location:
trunk/packages/sipb-xen-remctl-auto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/debian/changelog

    r1089 r1097  
     1sipb-xen-remctl-auto (1.3.1) unstable; urgency=low
     2
     3  * Quote the installer arguments correctly
     4
     5 -- Evan Broder <broder@mit.edu>  Fri, 10 Oct 2008 01:47:54 -0400
     6
    17sipb-xen-remctl-auto (1.3) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol

    r1089 r1097  
    1 #!/bin/sh
     1#!/bin/bash
    22# sipb-xen-vmcontrol MACHINE ACTION
    33#
     
    3030        fi
    3131        if [ "$ACTION" = "install" ]; then
    32             xm create sipb-database machine_name="$ORIGMACHINE" installer_options=\""$*"\"
     32            xm create sipb-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
    3333#       elif [ "$ACTION" = "copy" ]; then
    3434#           sipb-xen-duplicate ...etc...
Note: See TracChangeset for help on using the changeset viewer.