From ddf54b30e10db8cd4391765817e3fe531c139fea Mon Sep 17 00:00:00 2001 From: Konstantin Zhuravlyov Date: Wed, 26 Jul 2023 14:24:00 -0400 Subject: [PATCH] Don't normalize just the $arg --- bin/hipcc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hipcc.pl b/bin/hipcc.pl index 546cea7..1c11dfa 100755 --- a/bin/hipcc.pl +++ b/bin/hipcc.pl @@ -471,7 +471,7 @@ sub get_normalized_path { if (not $isWindows and $escapeArg) { $arg =~ s/[^-a-zA-Z0-9_=+,.\/]/\\$&/g; } - $toolArgs .= " " . get_normalized_path("$arg") unless $swallowArg; + $toolArgs .= " $arg" unless $swallowArg; $prevArg = $arg; }