diff options
Diffstat (limited to 'scripts/nativesdk-intercept/chown')
-rwxr-xr-x | scripts/nativesdk-intercept/chown | 5 |
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) | |||
14 | args = list() | 14 | args = list() |
15 | 15 | ||
16 | found = False | 16 | found = False |
17 | for i in sys.argv: | 17 | |
18 | args.append(real_chown) | ||
19 | |||
20 | for i in sys.argv[1:]: | ||
18 | if i.startswith("-"): | 21 | if i.startswith("-"): |
19 | args.append(i) | 22 | args.append(i) |
20 | continue | 23 | continue |