Created
July 27, 2017 12:15
-
-
Save MatiMax/65374117a2774ca86fd122318d2c8493 to your computer and use it in GitHub Desktop.
This fish-shell script modifies the permissions of the C-header files used by Swift to receive group and world read access.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/fish | |
set SWIFT_PATH /opt | |
sudo find $SWIFT_PATH/swift/ -name "*.h" ! -perm -go=r -exec chmod go+r "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment