1
0
Fork 0
mirror of synced 2024-11-04 09:08:56 -05:00

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

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" "$@"