Skip to content

Commit 104f886

Browse files
authored
Strip also single quotes from distribution name (#1004)
1 parent ae24aa8 commit 104f886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alibuild_helpers/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def doDetectArch(hasOsRelease, osReleaseLines, platformTuple, platformSystem, pl
221221
key, is_prop, val = x.partition("=")
222222
if not is_prop:
223223
continue
224-
val = val.strip("\n \"")
224+
val = val.strip("\n \"'")
225225
if key == "ID":
226226
distribution = val.lower()
227227
if key == "VERSION_ID":

0 commit comments

Comments
 (0)