Print warning about the portable option based on OS

This commit is contained in:
Francesco Abbate 2020-12-11 15:14:13 +01:00
parent 2373c63a0b
commit b396556df4
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ lite_build_package_windows () {
local bindir="$pdir"
local datadir="$pdir/data"
else
echo "WARNING: using non portable option on unix-like system"
local bindir="$pdir/bin"
local datadir="$pdir/share/lite-xl"
fi
@ -119,6 +120,7 @@ lite_build_package_linux () {
local os="linux"
local pdir=".package-build/lite-xl"
if [ $portable == "true" ]; then
echo "WARNING: using portable option on unix-like system"
local bindir="$pdir"
local datadir="$pdir/data"
else