Last active
December 15, 2016 20:36
-
-
Save TheLonelyGhost/41337a170cb2e276fcf4d45b7f227f8f to your computer and use it in GitHub Desktop.
Fix for hooks being run out of order in RCM
This file contains 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
134,136c134,136 | |
< -exec \ | |
< sh -c 'cd "`dirname $1`" && ./"`basename $1`"' arg0 '{}' \ | |
< \; | |
--- | |
> | sort | while read file; do | |
> sh -c 'cd "`dirname $1`" && ./"`basename $1`"' arg0 "$file" | |
> done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download
rcm.sh.patch
to a directory, then run the following:# with root privileges patch /usr/share/rcm/rcm.sh ./path/to/rcm.sh.patch