Fix typos
[babeltrace.git] / src / gen-version-i.sh
index 0bb981fb8bf35b19f39190243e3dc4021b52d0d9..e061193790417e9915f2c06649d160b21f2c5d10 100755 (executable)
@@ -1,8 +1,7 @@
 #!/usr/bin/env sh
 #
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc.
 # SPDX-License-Identifier: GPL-2.0-only
-#
-# Copyright (C) 2023 EfficiOS, Inc.
 
 # This file generates an include file that contains the git version
 # string of the current branch, it must be continuously updated when
@@ -70,7 +69,7 @@ fi
 
        # Fetch the BT_VERSION_EXTRA_DESCRIPTION define from "version/extra_version_description",
        # sanitize and format it with a sed script to replace all non-alpha-numeric values
-       # with "-" and join all lines by replacing "\n" with litteral string c-style "\n" and
+       # with "-" and join all lines by replacing "\n" with literal string c-style "\n" and
        # output it to "version.i.tmp".
        echo "#define BT_VERSION_EXTRA_DESCRIPTION \"$($SED -E ':a ; N ; $!ba ; s/[^a-zA-Z0-9 \n\t\.,]/-/g ; s/\r{0,1}\n/\\n/g' "$TOP_SRCDIR/version/extra_version_description" 2> /dev/null)\""
 
@@ -81,7 +80,7 @@ fi
        # The sanitize step uses sed with a script to replace all
        # non-alpha-numeric values, except " " (space), to "-".
        # The formatting step uses sed with a script to join all lines
-       # by replacing "\n" with litteral string c-style "\n".
+       # by replacing "\n" with literal string c-style "\n".
        # shellcheck disable=SC2012
        echo "#define BT_VERSION_EXTRA_PATCHES \"$(ls -1 "$TOP_SRCDIR/version/extra_patches" | $GREP -v '^README.adoc' | $SED -E ':a ; N ; $!ba ; s/[^a-zA-Z0-9 \n\t\.]/-/g ; s/\r{0,1}\n/\\n/g' 2> /dev/null)\""
 } >> common/version.i.tmp
This page took 0.023193 seconds and 4 git commands to generate.