Skip to content

Commit 02f715e

Browse files
committed
properly parameterize script so it's obvious what is what
1 parent 4b7fc6e commit 02f715e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/fixtures/make-index-parts.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ mkdir -p "$out"
2424
git log --format=%B -n1 "$commit" > "$out/$commit.msg"
2525
done < "$commit_list"
2626

27-
base="$out/reproduce-#19"
27+
base_name='reproduce-#19'
28+
base="$out/$base_name"
2829
cat <<EOF > "$base.diff"
2930
diff --git a/al/lo/allowed b/al/lo/allowed
3031
new file mode 100644
@@ -34,7 +35,7 @@ index 0000000..b30662b
3435
@@ -0,0 +1 @@
3536
+{"name":"allowed","vers":"1.0.0","deps":[],"features":{},"cksum":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","yanked":true}
3637
EOF
37-
echo 'reproduce-#19' >> "$commit_list"
38+
echo "$base_name" >> "$commit_list"
3839
echo 'reproduce issue #19' >> "$base.msg"
3940

4041
)

0 commit comments

Comments
 (0)