We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9839e commit 3c6e315Copy full SHA for 3c6e315
devnet/prepare-config-files.sh
@@ -1,8 +1,11 @@
1
#!/bin/bash
2
3
-# Give the current user the appropriate permissions
4
-sudo chown -R $(whoami):$(whoami) scroll-sdk
5
-sudo chmod -R u+rw scroll-sdk
+# Check if running on Linux (skip permission changes on macOS)
+if [[ "$OSTYPE" != "darwin"* ]]; then
+ # On Linux systems, set permissions
6
+ sudo chown -R $(whoami):$(whoami) scroll-sdk
7
+ sudo chmod -R u+rw scroll-sdk
8
+fi
9
10
indent_file_and_add_first_line () {
11
echo $1
0 commit comments