Fix shellcheck warnings

This commit is contained in:
jo 2021-08-16 23:00:01 +02:00
parent dc999f9006
commit 9881eebf55
17 changed files with 90 additions and 75 deletions

View file

@ -17,10 +17,8 @@ if [ $# == 0 ]; then
exit 1
elif [ $# == 1 ]; then
suffix=$1
version=$1
else
suffix=$1-$2
version=$1
fi
echo "Creating tarball for LibreTime ${suffix}."
@ -41,9 +39,9 @@ echo " Done"
#echo "Done"
cd ..
find libretime-${suffix} -type f -exec dos2unix {} \;
find "libretime-${suffix}" -type f -exec dos2unix {} \;
echo -n "Creating tarball..."
tar -czf libretime-${suffix}.tar.gz \
tar -czf "libretime-${suffix}.tar.gz" \
--owner=root --group=root \
--exclude-vcs \
--exclude .zfproject.xml \