mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
build.sh: recreate previous behavior with no args
When calling build.sh with no args asking for a specific build type, that should be equivalent with calling it with the -desktop arg. Reported-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b5c8d0dbb4
commit
bd26d8407f
1 changed files with 5 additions and 0 deletions
|
@ -133,6 +133,11 @@ while [[ $# -gt 0 ]] ; do
|
|||
shift
|
||||
done
|
||||
|
||||
# recreate the old default behavior - no flag set implies build desktop
|
||||
if [ "$BUILD_MOBILE$BUILD_DOWNLOADER" = "" ] ; then
|
||||
BUILD_DESKTOP="1"
|
||||
fi
|
||||
|
||||
if [ "$BUILD_DEPS" = "1" ] && [ "$QUICK" = "1" ] ; then
|
||||
echo "Conflicting options; cannot request combine -build-deps and -quick"
|
||||
exit 1;
|
||||
|
|
Loading…
Reference in a new issue