Move shellcheck option below license

This commit is contained in:
Tim Byrne 2021-02-15 12:39:27 -06:00
parent 8ece22ab2a
commit a8e5b20021
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 1 additions and 1 deletions

2
yadm
View File

@ -1,5 +1,4 @@
#!/bin/sh
# shellcheck shell=bash
# yadm - Yet Another Dotfiles Manager
# Copyright (C) 2015-2021 Tim Byrne
@ -16,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# shellcheck shell=bash
# execute script with bash (shebang line is /bin/sh for portability)
if [ -z "$BASH_VERSION" ]; then
[ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"