Fix whitespaces across the bash scripts
Change-Id: I8f3912f1b7f35aa889ce63592b30014d6433a82f
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
diff --git a/bash/tools/creating_data/download-npm-pkgs.sh b/bash/tools/creating_data/download-npm-pkgs.sh
index 00737f2..9e8847c 100644
--- a/bash/tools/creating_data/download-npm-pkgs.sh
+++ b/bash/tools/creating_data/download-npm-pkgs.sh
@@ -15,15 +15,19 @@
# limitations under the License.
#
# COPYRIGHT NOTICE ENDS HERE
+
LIST_FILE="$1"
+
if [[ -z "$LIST_FILE" ]]; then
LIST_FILE="all_npm_list.txt"
fi
+
outdir="$2"
if [[ -z "$outdir" ]]; then
echo "Missing arg outdir"
exit 1
fi
+
mkdir -p "$outdir"
cd "$outdir"
lines=$(cat "$LIST_FILE" | wc -l)
@@ -33,4 +37,5 @@
# yallist@2.1.2
npm pack $line
cnt=$((cnt+1))
-done < "$LIST_FILE"
\ No newline at end of file
+
+done < "$LIST_FILE"