diff options
author | aszlig <aszlig@nix.build> | 2018-11-19 23:23:38 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-11-20 00:11:29 +0100 |
commit | 3ca35ce0b2dd1adb11044e03a816c77a72f7135d (patch) | |
tree | 6568304b95fec00339b1a84d806f6f1368e23276 /doc/stdenv.xml | |
parent | e4fbb244ee313a3003144e8e148341c9e5c67295 (diff) |
autoPatchelfHook: Add --no-recurse flag
This is to be used with the autoPatchelf command and allows to only patch a specific file or directory without recursing into subdirectories. Apart from being able to run the command in a standalone way, as detailled in the previous commit this is also needed for the Android SDK emulator, because according to @svanderburg there are subdirectories we don't want to patch. The reason why I didn't use GNU getopt is that it might not be available on all operating systems and the getopts bash builtin doesn't support long arguments. Apart from that, the implementation for recognizing the flag is pretty trivial and it's also using bash builtins only, so if we want to do something really fancy someday, we can still change it. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'doc/stdenv.xml')
0 files changed, 0 insertions, 0 deletions