#! /bin/sh
-# deblob-check version 2010-01-21
+# deblob-check version 2010-01-21a
# Inspired in gNewSense's find-firmware script.
# Written by Alexandre Oliva <lxoliva@fsfla.org>
# Check http://www.fsfla.org/svn/fsfla/software/linux-libre for newer
# versions.
-# Copyright 2008, 2009 Alexandre Oliva <lxoliva@fsfla.org>
+# Copyright 2008, 2009, 2010 Alexandre Oliva <lxoliva@fsfla.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#! /bin/sh
-# deblob-check version 2010-01-21.py
+# deblob-check version 2010-01-21a.py
# Inspired in gNewSense's find-firmware script.
# Written by Alexandre Oliva <lxoliva@fsfla.org>
# Check http://www.fsfla.org/svn/fsfla/software/linux-libre for newer
# versions.
-# Copyright 2008, 2009 Alexandre Oliva <lxoliva@fsfla.org>
+# Copyright 2008, 2009, 2010 Alexandre Oliva <lxoliva@fsfla.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
q 1"
}
-if false && (python --version) > /dev/null 2>&1; then
+if (${PYTHON-python} --version) > /dev/null 2>&1; then
set_cmd=set_python_cmd
else
set_cmd=set_sed_cmd
exit (0)
EOF
- scriptcmd='python "$scriptname"'
+ scriptcmd="${PYTHON-python} "'"$scriptname"'
}
# Process an input file named in $1 and run it through the blob