Print warning about the portable option based on OS
This commit is contained in:
parent
2373c63a0b
commit
b396556df4
|
@ -62,6 +62,7 @@ lite_build_package_windows () {
|
||||||
local bindir="$pdir"
|
local bindir="$pdir"
|
||||||
local datadir="$pdir/data"
|
local datadir="$pdir/data"
|
||||||
else
|
else
|
||||||
|
echo "WARNING: using non portable option on unix-like system"
|
||||||
local bindir="$pdir/bin"
|
local bindir="$pdir/bin"
|
||||||
local datadir="$pdir/share/lite-xl"
|
local datadir="$pdir/share/lite-xl"
|
||||||
fi
|
fi
|
||||||
|
@ -119,6 +120,7 @@ lite_build_package_linux () {
|
||||||
local os="linux"
|
local os="linux"
|
||||||
local pdir=".package-build/lite-xl"
|
local pdir=".package-build/lite-xl"
|
||||||
if [ $portable == "true" ]; then
|
if [ $portable == "true" ]; then
|
||||||
|
echo "WARNING: using portable option on unix-like system"
|
||||||
local bindir="$pdir"
|
local bindir="$pdir"
|
||||||
local datadir="$pdir/data"
|
local datadir="$pdir/data"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue