diff options
Diffstat (limited to 'scripts/nativesdk-intercept')
-rwxr-xr-x | scripts/nativesdk-intercept/chgrp | 5 | ||||
-rwxr-xr-x | scripts/nativesdk-intercept/chown | 5 |
2 files changed, 8 insertions, 2 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) | |||
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_chgrp) | ||
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 |
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 |