Skip to content

Commit

Permalink
fetch-footprints.sh: fix cd bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Elizarov committed May 14, 2024
1 parent e3d656a commit c0fdb94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fetch-footprints.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -216,6 +217,7 @@ do_process_source() {

cd "$tmpdir/$path/"
cp *.js "$out/"
cd -
fi
fi

Expand Down

0 comments on commit c0fdb94

Please sign in to comment.