From 04377fe1b9654d502ba5f60010f852eb92511345 Mon Sep 17 00:00:00 2001 From: Stephen Cheng Date: Tue, 30 Jul 2024 07:32:00 +0100 Subject: [PATCH] CP-49148: Fix ambiguous python shebang for XS9 When building xapi for XS9, ran into errors: *** ERROR: ambiguous python shebang in /opt/xensource/libexec/restore-sr-metadata.py: #!/usr/bin/python. Change it to python3 (or python2) explicitly. Explicitly use python3. Signed-off-by: Stephen Cheng --- python3/libexec/restore-sr-metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3/libexec/restore-sr-metadata.py b/python3/libexec/restore-sr-metadata.py index 4bbb9fe55af..7fa4e92aa18 100644 --- a/python3/libexec/restore-sr-metadata.py +++ b/python3/libexec/restore-sr-metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Restore SR metadata and VDI names from an XML file # (c) Anil Madhavapeddy, Citrix Systems Inc, 2008