fromupstream: Don't freeze X11 when running with bash

Drinkcat has/had a tendency to run `bash`
This causes bash to call imagemagick's generically named tool `import`
for every time we're importing python libraries. Essentially freezing
up X11 until enough Ctrl+Cs were pressed.

Write a small bash polyglot so bash exits right away with a helpful
reminder to run this script as python.

BUG=Banter from chat
TEST=bash ./src/platform/dev/contrib/

Change-Id: I689c669415cd637354bfe4013b1ec62b9f8897a4
Tested-by: Alexandru M Stan <>
Reviewed-by: Guenter Roeck <>
Commit-Queue: Alexandru M Stan <>
1 file changed