]> sigrok.org Git - libsigrokdecode.git/commitdiff
Fix 'make install' on OSes where 'python3' doesn't exist.
authorUwe Hermann <redacted>
Sun, 4 May 2014 20:17:03 +0000 (22:17 +0200)
committerUwe Hermann <redacted>
Sun, 4 May 2014 20:25:45 +0000 (22:25 +0200)
Sometimes the Python 3 executable is called just 'python3', sometimes
it is called 'python3.4' and so on. Handle all cases transparently for
the user.

Before:

  $ make install
  /usr/bin/env: python3: No such file or directory

After:

  $ make install
  python3.4 ./tools/install-decoders -i ./decoders -o [...]
  Installing 36 protocol decoders:
  [...]


No differences found