Every tar has it's own way of doing things
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/28ac2f75 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/28ac2f75 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/28ac2f75 Branch: refs/heads/rbac Commit: 28ac2f758ea85cf315c98d5ef121b6e20bfe6ddf Parents: 3df97bd Author: Hugo Trippaers <htrippa...@schubergphilis.com> Authored: Wed Feb 5 11:48:53 2014 +0100 Committer: Hugo Trippaers <htrippa...@schubergphilis.com> Committed: Wed Feb 5 11:48:53 2014 +0100 ---------------------------------------------------------------------- tools/appliance/definitions/systemvm64template/postinstall.sh | 2 +- tools/appliance/definitions/systemvmtemplate/postinstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/28ac2f75/tools/appliance/definitions/systemvm64template/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index a9e0b89..cc8ead9 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -221,7 +221,7 @@ configure_services() { snapshot_dir="/opt/cloudstack*" cd /opt wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz - tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm' + tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm' cp -rv $snapshot_dir/systemvm/patches/debian/config/* / cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* / mkdir -p /usr/share/cloud/ http://git-wip-us.apache.org/repos/asf/cloudstack/blob/28ac2f75/tools/appliance/definitions/systemvmtemplate/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index d613483..23e66dd 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -211,7 +211,7 @@ configure_services() { snapshot_dir="/opt/cloudstack*" cd /opt wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz - tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm' + tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm' cp -rv $snapshot_dir/systemvm/patches/debian/config/* / cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* / mkdir -p /usr/share/cloud/