#! /bin/bash -e

# The .diff.gz patch format does not preserve executable flags on files.
# This is fine, but run the present script as
#
#     bash debian/helper/letexec
#
# after unpacking the source to let the appropriate helpers be
# executable.

for A in $( find $( dirname $0 ) -mindepth 1 -maxdepth 1 -type f ) ; do
  sed -ne '/^#!/q0;q1' $A && chmod a+x $A
done

