summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 134aa1c7d..f171feb1e 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -183,12 +183,6 @@ if [ "$SUBSURFACE_EXECUTABLE" = "DesktopExecutable" ] ; then
make install
fi
-# pull the plasma-mobile components from upstream if building Subsurface-mobile
-if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
- cd $SRC/subsurface
- bash ./scripts/mobilecomponents.sh
-fi
-
# finally, build Subsurface
if [ $PLATFORM = Darwin ] ; then
@@ -203,6 +197,12 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do
BUILDDIR=${BUILDDIRS[$i]}
echo "build $SUBSURFACE_EXECUTABLE in $BUILDDIR"
+ # pull the plasma-mobile components from upstream if building Subsurface-mobile
+ if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
+ cd $SRC/subsurface
+ bash ./scripts/mobilecomponents.sh
+ fi
+
mkdir -p $SRC/subsurface/$BUILDDIR
cd $SRC/subsurface/$BUILDDIR
export CMAKE_PREFIX_PATH=$INSTALL_ROOT/lib/cmake