generic-poky/scripts/lib/wic/kickstart/custom_commands
Martin Hundebøll c0dafd3101 scripts: use '/usr/bin/env' in shebangs with python
To support yocto on systems with python3 as default version, scripts
should use /usr/bin/env python in the shebang, as this allows the use of
a fake env to mimic python2 as default version.

This patch simply replaces occurrences of #!/usr/bin/python with
 #!/usr/bin/env python and was done with this oneliner:

     git grep -lE '^#!/usr/bin/python' | xargs \
         sed -i 's|/usr/bin/python|/usr/bin/env python|'

(From OE-Core rev: 6d3de22a19657a413e01d7bb5fd74d16c00dc696)

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12 15:38:29 +00:00
..
__init__.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00
micboot.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
micpartition.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
partition.py wic: Use overhead factor when creating partitions from rootfs directories 2014-10-30 13:03:40 +00:00
wicboot.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00