capdrupal
capdrupal copied to clipboard
Compatibility with FreeBSD
Compatibility with FreeBSD
On FreeBSD the find command doesn't have the -executable flag, so its throwing an error
find: -executable: unknown primary or operator
🔢 To Reproduce
Deploy to a FreeBSD system.
I created a quick fix over here https://github.com/uniquename/capdrupal/commit/1976b82b81b98df139fefb5565456c8228bd76cc but that makes it only work on FreeBSD. I'm not familiar enough with ruby to make it detect the OS.
mmh pretty interesting, we have to checkout out how others deployment PHP (https://github.com/capistrano/symfony) deal with that kind of behavior