diff --git a/config/docker/source/bin/docker b/config/docker/source/bin/docker index 41e4bf33ac..54e66e198a 100644 --- a/config/docker/source/bin/docker +++ b/config/docker/source/bin/docker @@ -8,4 +8,4 @@ name="$(basename $0)" oe_setup_addon "$name" docker rm "$name" 2>/dev/null -docker run --name="$name" \ +docker run --name="$name" diff --git a/config/noobs/partition_setup.sh b/config/noobs/partition_setup.sh index 7f0e5344db..052e6138d9 100755 --- a/config/noobs/partition_setup.sh +++ b/config/noobs/partition_setup.sh @@ -6,7 +6,8 @@ MOUNTPOINT="/tmp/LibreELEC-System" md5sumCheck() { - ( cd $MOUNTPOINT + ( + cd $MOUNTPOINT echo "checking MD5: $1" md5sum -c $1.md5 if [ "$?" = "1" ]; then @@ -35,19 +36,19 @@ if [ -z $part1 -o -z $part2 -o -z $id1 -o -z $id2 ]; then fi # create mountpoint - mkdir -p $MOUNTPOINT +mkdir -p $MOUNTPOINT # mount needed partition - mount $part1 $MOUNTPOINT +mount $part1 $MOUNTPOINT # check md5sum - md5sumCheck kernel.img - md5sumCheck SYSTEM +md5sumCheck kernel.img +md5sumCheck SYSTEM # create bootloader configuration - echo "creating bootloader configuration..." - echo "boot=$id1 disk=$id2 quiet @EXTRA_CMDLINE@" > $MOUNTPOINT/cmdline.txt +echo "creating bootloader configuration..." +echo "boot=$id1 disk=$id2 quiet @EXTRA_CMDLINE@" >$MOUNTPOINT/cmdline.txt # cleanup mountpoint - umount $MOUNTPOINT - rmdir $MOUNTPOINT +umount $MOUNTPOINT +rmdir $MOUNTPOINT diff --git a/config/show_config b/config/show_config index d1da4dac05..6cadb5bcfc 100644 --- a/config/show_config +++ b/config/show_config @@ -37,7 +37,7 @@ show_config() { config_message+="\n - LLVM support:\t\t\t ${LLVM_SUPPORT}" config_message+="\n - DEBUG:\t\t\t\t ${DEBUG:-no}" config_message+="\n - CFLAGS:\t\t\t\t ${TARGET_CFLAGS}" - config_message+="\n - LDFLAGS:\t\t\t\t $(sed 's/^ *//' <<< ${TARGET_LDFLAGS})" + config_message+="\n - LDFLAGS:\t\t\t\t $(sed 's/^ *//' <<<${TARGET_LDFLAGS})" config_message+="\n - Local Ccache:\t\t\t ${LOCAL_CCACHE:-no}" # Misc. hardware configuration @@ -103,7 +103,7 @@ show_config() { config_message+="\n ${dashes}${dashes}" config_message+="\n - Graphic Drivers:\t\t\t ${GRAPHIC_DRIVERS}" config_message+="\n - Display Server:\t\t\t ${DISPLAYSERVER}" - if [ "${DISPLAYSERVER}" = "x11" ] ; then + if [ "${DISPLAYSERVER}" = "x11" ]; then for drv in ${XORG_DRIVERS}; do XORG_DRIVERS_CONFIG+="xf86-video-${drv} " done @@ -112,11 +112,11 @@ show_config() { fi config_message+="\n - Window Manager / Compositor:\t\t ${WINDOWMANAGER}" config_message+="\n - OpenGL (GLX) support (provider):\t ${OPENGL_SUPPORT}" - [ "${OPENGL}" != "no" ] && config_message+=" (${OPENGL})" + [ "${OPENGL}" != "no" ] && config_message+=" (${OPENGL})" config_message+="\n - OpenGL ES support (provider):\t ${OPENGLES_SUPPORT}" - [ "${OPENGLES}" != "no" ] && config_message+=" (${OPENGLES})" + [ "${OPENGLES}" != "no" ] && config_message+=" (${OPENGLES})" config_message+="\n - Vulkan API support (provider):\t ${VULKAN_SUPPORT}" - [ "${VULKAN}" != "no" ] && config_message+=" (${VULKAN})" + [ "${VULKAN}" != "no" ] && config_message+=" (${VULKAN})" if [ "${VULKAN_SUPPORT}" = "yes" ]; then config_message+="\n - Vulkan Graphic Drivers:\t\t ${VULKAN_DRIVERS_CONFIG}" fi