acsm-calibre-plugin/bundle_migration_plugin.sh

17 lines
298 B
Bash
Raw Normal View History

#!/bin/bash
rm -rf calibre-plugin-tmp || /bin/true
mkdir calibre-plugin-tmp
cp migration_plugin/* calibre-plugin-tmp/
cp LICENSE calibre-plugin-tmp/
pushd calibre-plugin-tmp
# Create ZIP file from calibre-plugin folder.
zip -r ../calibre-migration-plugin.zip *
popd
rm -rf calibre-plugin-tmp