diff --git a/scripts/sipdiff b/scripts/sipdiff index d581ce263f2..49da03b6bc6 100755 --- a/scripts/sipdiff +++ b/scripts/sipdiff @@ -36,7 +36,7 @@ for file in $*; do echo "" case $n in g) - echo "Genreating the SIP file ..." + echo "Generating the SIP file ..." ${DIR}/scripts/sipify.pl ${DIR}/$header > ${DIR}/python/$d/$f.sip break ;; diff --git a/scripts/sipify.pl b/scripts/sipify.pl index b66cf6299d3..306544aa216 100755 --- a/scripts/sipify.pl +++ b/scripts/sipify.pl @@ -175,7 +175,7 @@ while(!eof $header){ if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){ do {no warnings 'uninitialized'; my $classname = $3; - $line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class$classname in $headerfile shoud be exported with appropriate [LIB]_EXPORT macro. If this should not be available in python, wrap it in a `#ifndef SIP_RUN` block."; + $line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class$classname in $headerfile should be exported with appropriate [LIB]_EXPORT macro. If this should not be available in python, wrap it in a `#ifndef SIP_RUN` block."; }; $line = "$1$3"; # Inheritance