summaryrefslogtreecommitdiffstats
path: root/scripts/nativesdk-intercept/chown
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nativesdk-intercept/chown')
-rwxr-xr-xscripts/nativesdk-intercept/chown5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/nativesdk-intercept/chown b/scripts/nativesdk-intercept/chown
index 3914b3e384..0805ceb70a 100755
--- a/scripts/nativesdk-intercept/chown
+++ b/scripts/nativesdk-intercept/chown
@@ -14,7 +14,10 @@ real_chown = shutil.which('chown', path=path)
args = list()
found = False
-for i in sys.argv:
+
+args.append(real_chown)
+
+for i in sys.argv[1:]:
if i.startswith("-"):
args.append(i)
continue