Ensure lite executable has x permission in repackage

This commit is contained in:
Francesco Abbate 2020-12-16 18:21:49 +01:00
parent 4df4a1e958
commit 03e95b2cc3
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ for filename in $(ls -1 *.zip *.tar.*); do
tar xf "$filename"
fi
rm "$filename"
if [ -f lite-xl/bin/lite ]; then
chmod a+x lite-xl/bin/lite
elif [ -f lite-xl/lite ]; then
chmod a+x lite-xl/lite
fi
xcoredir="$(find lite-xl -type d -name 'core')"
coredir="$(dirname $xcoredir)"
echo "coredir: $coredir"