diff --git a/Utilities/Maintenance/TravisBuild.sh b/Utilities/Maintenance/TravisBuild.sh index 5790954f01fa15dbcb40e25861588de8c1db1c6a..b1560faa800830ad22c60d7f69529e3f742137a3 100755 --- a/Utilities/Maintenance/TravisBuild.sh +++ b/Utilities/Maintenance/TravisBuild.sh @@ -24,11 +24,11 @@ if [ ! -f $CTEST_DASHBOARD_ROOT/orfeotoolbox/OTB/CMakeLists.txt ]; then fi CMAKE_FILE=$CTEST_DASHBOARD_ROOT/orfeotoolbox/OTB/CMakeLists.txt -VERION_MAJOR=$(sed -n '/set.OTB_VERSION_MAJOR/p' $CMAKE_FILE|cut -d '"' -f 2) -VERION_MINOR=$(sed -n '/set.OTB_VERSION_MINOR/p' $CMAKE_FILE|cut -d '"' -f 2) -VERION_PATCH=$(sed -n '/set.OTB_VERSION_PATCH/p' $CMAKE_FILE|cut -d '"' -f 2) -OTB_VERSION="$VERION_MAJOR.$VERION_MINOR" -OTB_VERSION_FULL="$VERION_MAJOR.$VERION_MINOR.$VERION_PATCH" +VERSION_MAJOR=$(sed -n '/set.OTB_VERSION_MAJOR/p' $CMAKE_FILE|cut -d '"' -f 2) +VERSION_MINOR=$(sed -n '/set.OTB_VERSION_MINOR/p' $CMAKE_FILE|cut -d '"' -f 2) +VERSION_PATCH=$(sed -n '/set.OTB_VERSION_PATCH/p' $CMAKE_FILE|cut -d '"' -f 2) +OTB_VERSION="$VERSION_MAJOR.$VERION_MINOR" +OTB_VERSION_FULL="$VERSION_MAJOR.$VERION_MINOR.$VERION_PATCH" XDK_FILE=OTB-$OTB_VERSION_FULL-xdk-Linux64.run CMAKE_PREFIX_PATH=/tmp/OTB-$OTB_VERSION_FULL-xdk-Linux64 diff --git a/Utilities/Maintenance/fix_typos.sh b/Utilities/Maintenance/fix_typos.sh index fd2f121a0db0f49ea916b433d10ffc52ffa48af2..0a4ebc4e7bc9cb2537b071a0776c5295cb410a0a 100755 --- a/Utilities/Maintenance/fix_typos.sh +++ b/Utilities/Maintenance/fix_typos.sh @@ -47,7 +47,7 @@ EXCLUDED_FILES="$EXCLUDED_FILES,*/Documentation/SoftwareGuide/Art/*,*/Documentat #Exclude also Copyright folder EXCLUDED_FILES="$EXCLUDED_FILES,*/Copyright/*,*/SuperBuild/Copyright/*" # exclude maintenance, translation, license -EXCLUDED_FILES="$EXCLUDED_FILES,*/Utilities/Maintenance/*,*/fix_typos/*,LICENSE,*/i18n/*" +EXCLUDED_FILES="$EXCLUDED_FILES,*/Utilities/Maintenance/fix_typos.sh,*/fix_typos/*,LICENSE,*/i18n/*" #We use also words white list to handle deprecated classes/methods which are still there and contains some typos