fromupstream: Don't freeze X11 when running with bash

Drinkcat has/had a tendency to run `bash fromupstream.py`
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/fromupstream.py

Change-Id: I689c669415cd637354bfe4013b1ec62b9f8897a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2670129
Tested-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
1 file changed