Fix shellcheck warnings
This commit is contained in:
parent
dc999f9006
commit
9881eebf55
17 changed files with 90 additions and 75 deletions
6
.github/scripts/release.sh
vendored
6
.github/scripts/release.sh
vendored
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue