.. SPDX-License-Identifier: GPL-3.0-or-later .. _fix_license: =========== Fix License =========== Symlinking this file is okay. SYNOPSIS ======== :: fix-license.sh [file] DESCRIPTION =========== This script heads ``file`` and updates the SPDX license ID to ``new`` if the current ID found in the header is ``old``. Otherwise, it's a no-op. If you omit ``file``, it lists files from the index and worktree, and keeps calling itself with ``file`` filled until it processes all files. In this case, you must be at the root of your repo.