[Android] compile-libvlc.sh: Indent conditional block

Hugo Beauzée-Luyssen git at videolan.org
Wed Oct 16 16:10:52 CEST 2019


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Oct 16 14:53:14 2019 +0200| [1781934960dc064d415052da06e61045c79a2d06] | committer: Hugo Beauzée-Luyssen

compile-libvlc.sh: Indent conditional block

> https://code.videolan.org/videolan/vlc-android/commit/1781934960dc064d415052da06e61045c79a2d06
---

 compile-libvlc.sh | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index bde7e8516..702095f9d 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -542,27 +542,27 @@ export ac_cv_func_tdestroy=no
 export ac_cv_func_tfind=no
 
 if [ ! -e ./config.h -o "$AVLC_RELEASE" = 1 ]; then
-VLC_CONFIGURE_DEBUG=""
-if [ ! "$AVLC_RELEASE" = 1 ]; then
-    VLC_CONFIGURE_DEBUG="--enable-debug"
-fi
+    VLC_CONFIGURE_DEBUG=""
+    if [ ! "$AVLC_RELEASE" = 1 ]; then
+        VLC_CONFIGURE_DEBUG="--enable-debug"
+    fi
 
-CFLAGS="${VLC_CFLAGS} ${EXTRA_CFLAGS}" \
-CXXFLAGS="${VLC_CXXFLAGS} ${EXTRA_CFLAGS} ${EXTRA_CXXFLAGS}" \
-CC="${CROSS_TOOLS}clang" \
-CXX="${CROSS_TOOLS}clang++" \
-NM="${CROSS_TOOLS}nm" \
-STRIP="${CROSS_TOOLS}strip" \
-RANLIB="${CROSS_TOOLS}ranlib" \
-AR="${CROSS_TOOLS}ar" \
-PKG_CONFIG_LIBDIR=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
-PKG_CONFIG_PATH=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
-PATH=../contrib/bin:$PATH \
-sh ../configure --host=$TARGET_TUPLE --build=x86_64-unknown-linux \
-    --with-contrib=${VLC_SRC_DIR}/contrib/${TARGET_TUPLE} \
-    --prefix=${VLC_BUILD_DIR}/install/ \
-    ${EXTRA_PARAMS} ${VLC_CONFIGURE_ARGS} ${VLC_CONFIGURE_DEBUG}
-avlc_checkfail "vlc: configure failed"
+    CFLAGS="${VLC_CFLAGS} ${EXTRA_CFLAGS}" \
+    CXXFLAGS="${VLC_CXXFLAGS} ${EXTRA_CFLAGS} ${EXTRA_CXXFLAGS}" \
+    CC="${CROSS_TOOLS}clang" \
+    CXX="${CROSS_TOOLS}clang++" \
+    NM="${CROSS_TOOLS}nm" \
+    STRIP="${CROSS_TOOLS}strip" \
+    RANLIB="${CROSS_TOOLS}ranlib" \
+    AR="${CROSS_TOOLS}ar" \
+    PKG_CONFIG_LIBDIR=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
+    PKG_CONFIG_PATH=$VLC_SRC_DIR/contrib/$TARGET_TUPLE/lib/pkgconfig \
+    PATH=../contrib/bin:$PATH \
+    sh ../configure --host=$TARGET_TUPLE --build=x86_64-unknown-linux \
+        --with-contrib=${VLC_SRC_DIR}/contrib/${TARGET_TUPLE} \
+        --prefix=${VLC_BUILD_DIR}/install/ \
+        ${EXTRA_PARAMS} ${VLC_CONFIGURE_ARGS} ${VLC_CONFIGURE_DEBUG}
+    avlc_checkfail "vlc: configure failed"
 fi
 
 ############



More information about the Android mailing list