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