aboutsummaryrefslogtreecommitdiff
path: root/src/go/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-23 23:13:33 +0300
committerGitHub <noreply@github.com>2022-08-23 23:13:33 +0300
commit84f4996643b84c6f3dcd5c3edc72ae176dceaf65 (patch)
tree74b7eddfc24ae22409baf5f3e4be28ce52d5881a /src/go/install.sh
parent0cafeee86296b9f19e6425055e0c4037eff41985 (diff)
Fix bug - Python: Error installing os-provided python (#112)
* python: fix bug * bump versions
Diffstat (limited to 'src/go/install.sh')
-rwxr-xr-xsrc/go/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/go/install.sh b/src/go/install.sh
index e50c024..3b0ff26 100755
--- a/src/go/install.sh
+++ b/src/go/install.sh
@@ -242,8 +242,8 @@ EOF
chown -R "${USERNAME}:golang" "${TARGET_GOROOT}" "${TARGET_GOPATH}"
chmod -R g+r+w "${TARGET_GOROOT}" "${TARGET_GOPATH}"
-find "${TARGET_GOROOT}" -type d | xargs -n 1 chmod g+s
-find "${TARGET_GOPATH}" -type d | xargs -n 1 chmod g+s
+find "${TARGET_GOROOT}" -type d -print0 | xargs -n 1 -0 chmod g+s
+find "${TARGET_GOPATH}" -type d -print0 | xargs -n 1 -0 chmod g+s
echo "Done!"