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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.