#!/bin/bash
newexec="${0%/lalapps_fits_header_list}/lalpulsar_fits_header_list"
echo >&2
echo "WARNING: 'lalapps_fits_header_list' has been renamed to 'lalpulsar_fits_header_list'" >&2
echo "WARNING: please update your scripts" >&2
echo >&2
if test ! -x "${newexec}"; then
  echo "ERROR: '${newexec}' is not installed" >&2
  echo >&2
  exit 127
fi
case "$1" in -h|--help) exit 1;; esac
echo "WARNING: now running '${newexec}' ..." >&2
echo >&2
exec "${newexec}" "$@"
exit 1
