94849df097
Cleanup shell scripts to pass bashate testing. Add bashate check to pep8 check target. Change-Id: I49b9ab1e352378a43f82a4e1f5db02a8dae99d27
18 lines
374 B
Bash
Executable File
18 lines
374 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Just a helper script to package a running Vagrant environment.
|
|
|
|
if [[ -z $1 ]]; then
|
|
echo "usage: $0 VERSION"
|
|
exit 1
|
|
fi
|
|
|
|
version=$1
|
|
rm -f working.tar.bz2
|
|
touch working/.placeholder
|
|
tar cjf working.tar.bz2 working
|
|
vagrant package \
|
|
--output=openstack-manuals-$version.box \
|
|
--vagrantfile=Vagrantfile.box \
|
|
--include working.tar.bz2
|