summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Davis2022-04-26 15:05:29 -0500
committerRyan Eatmon2022-04-26 16:38:31 -0500
commit76ddf33fde5bea353c21dd882ae0356c91351ec2 (patch)
treef953acc511570948b70ff800432c00f7d7a05837
parentb37438234e5be6d1634a029065700402052b6a71 (diff)
downloadoe-layersetup-76ddf33fde5bea353c21dd882ae0356c91351ec2.tar.gz
oe-layersetup-76ddf33fde5bea353c21dd882ae0356c91351ec2.tar.xz
oe-layersetup-76ddf33fde5bea353c21dd882ae0356c91351ec2.zip
Fix non-standard shell usage
Remove some Bashisms that prevent prevent this script from working on stock Ubuntu (with Dash default interpreter). Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rwxr-xr-xoe-layertool-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh
index f171f94..e05737b 100755
--- a/oe-layertool-setup.sh
+++ b/oe-layertool-setup.sh
@@ -780,7 +780,7 @@ print_image_names() {
780 for FOLDER in ${FOLDERS} 780 for FOLDER in ${FOLDERS}
781 do 781 do
782 RECO="" 782 RECO=""
783 if [ "${FOLDER}" == "meta-arago" ]; then 783 if [ "${FOLDER}" = "meta-arago" ]; then
784 RECO="[recommended]" 784 RECO="[recommended]"
785 fi 785 fi
786 echo "From ${FOLDER}${RECO}:" 786 echo "From ${FOLDER}${RECO}:"
@@ -796,7 +796,7 @@ print_image_names() {
796 if [ -z "${summary}" ]; then 796 if [ -z "${summary}" ]; then
797 summary="No Summary available" 797 summary="No Summary available"
798 fi 798 fi
799 echo -e "\t${name}: ${summary}" 799 echo " ${name}: ${summary}"
800 done 800 done
801 fi 801 fi
802 done 802 done