From c0fdb943cbc440ff544e64a38a800d5e0e3d42a2 Mon Sep 17 00:00:00 2001 From: Andrey Elizarov Date: Tue, 14 May 2024 11:35:53 +0400 Subject: [PATCH] fetch-footprints.sh: fix cd bug --- fetch-footprints.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch-footprints.sh b/fetch-footprints.sh index cc0f67c..18230f1 100755 --- a/fetch-footprints.sh +++ b/fetch-footprints.sh @@ -196,6 +196,7 @@ do_process_source() { if [ -d "$src" ]; then cd "$src" cp *.js "$out/" + cd - else local src_arr=() IFS='#' read -ra src_arr <<< "$src" @@ -216,6 +217,7 @@ do_process_source() { cd "$tmpdir/$path/" cp *.js "$out/" + cd - fi fi