From c83c166620d00e05130713f66b0efc814b3865b1 Mon Sep 17 00:00:00 2001 From: "Arya.Rafii" Date: Wed, 9 Jun 2021 16:34:55 -0400 Subject: [PATCH] SWDEV-290228 - Adding support for path with white spaces in the name Change-Id: I84a4235f6246c72d182c744174b5a2b1eb9ad9a7 [ROCm/hip commit: 408486d6d0c687056ba4b980fa3c57e3ec09b24e] --- projects/hip/bin/hipcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index 55460fa8a3..20fc84d3e4 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -296,7 +296,7 @@ foreach $arg (@ARGV) if ($skipOutputFile) { # TODO: handle filename with shell metacharacters - $toolArgs .= " $arg"; + $toolArgs .= " \"$arg\""; $prevArg = $arg; $skipOutputFile = 0; next;