mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-12-01 02:59:50 +00:00
fix: separate quoted and unquoted string parsing
there is anoter error caused by inner shell expression, which fails shlex parsing
This commit is contained in:
1 parent
1fcb4cdb84
commit
e1565398f4
3 files changed
+25
-4
No files matched your search
@@ -290,4 +290,8 @@ def test_parse(resource_path_root: Path) -> None:
|
||||
PkgbuildPatch("var", "a\\qb"),
|
||||
PkgbuildPatch("var", "\\$name"),
|
||||
PkgbuildPatch("var", "first\nsecond"),
|
||||
PkgbuildPatch(
|
||||
"_source64",
|
||||
"""https:$(echo "$_dl_urls" | sed -En 's|^.*rel="(//.*/linuxx64-[^"]*)".*$|\\1|p')""",
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user