From 56c9abcfd074260d833244698ae49b5f3d99f3f4 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 16 Aug 2016 11:51:05 +0200 Subject: [PATCH] Fixed build script to generate the distributable file just with project files from the project root --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 6dc1afcc..456c6d83 100755 --- a/build.sh +++ b/build.sh @@ -34,11 +34,11 @@ rm php* rm README.md rm -r build rm -f data/database.sqlite -rm -f data/{cache,log,proxies}/{*,.gitignore} -rm -f config/params/{*,.gitignore} -rm -f config/autoload/{{,*.}local.php{,.dist},.gitignore} +rm -rf data/{cache,log,proxies}/{*,.gitignore} +rm -rf config/params/{*,.gitignore} +rm -rf config/autoload/{{,*.}local.php{,.dist},.gitignore} # Compressing file -rm -f "${projectdir}"/build/Shlink_${version}.dist.zip -zip -r "${projectdir}"/build/Shlink_${version}.dist.zip "${builtcontent}" +rm -f "${projectdir}"/build/shlink_${version}_dist.zip +zip -r "${projectdir}"/build/shlink_${version}_dist.zip . rm -rf "${builtcontent}"