Fix docker-entrypoint.sh 07/118107/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 19 Feb 2021 13:37:12 +0000 (14:37 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 19 Feb 2021 13:37:12 +0000 (14:37 +0100)
Change-Id: Ie737420d13ee455cc2b50d2541620ab836cd36f3
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
build/docker-entrypoint.sh

index 81dcd84..d6f526d 100755 (executable)
@@ -164,12 +164,12 @@ case "$distro_type" in
         done
 
         # Download all packages via apt-get to repository folder
-        for i in $(cat ${list_file});do echo apt-get download $i -y; done
+        for i in $(cat ${list_file});do apt-get download $i -y; done
         for i in $(cat ${list_file});
             do
                 for depends in $(apt-cache depends $i | grep -E 'Depends' | grep -v 'Depends:.*>$' | cut -d ':' -f 2,3 | sed -e s/'<'/''/ -e s/'>'/''/);
                 do
-echo                    apt-get download $depends -y;
+                    apt-get download $depends -y;
                 done;
             done