Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Don't normalize just the $arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhuravl committed Jul 26, 2023
1 parent 15a3b8f commit ddf54b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hipcc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ddf54b3

Please sign in to comment.