Skip to content

Commit 4711acc

Browse files
Add dir
1 parent e6c3879 commit 4711acc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: xcode-documentation-docsets-fix

100644100755
+6-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@
1111
# * An unexpected error occurred while moving files to the final destination.
1212
#
1313
sudo chflags nohidden ~/Library/
14-
sudo mkdir -p ~/Library/Developer/Shared/Documentation/DocSets
15-
sudo chmod u+rw,g+rw ~/Library/Developer/Shared/Documentation/DocSets
14+
for dir in ~/Library/Developer/Shared/Documentation ~/Library/Developer/Shared/Documentation/DocSets
15+
do
16+
sudo mkdir -p "$dir"
17+
sudo chown $USER "$dir"
18+
sudo chmod u+rw "$dir"
19+
done

0 commit comments

Comments
 (0)