Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2020-10-15 22:36:10 +0000
committerJonah Graham2020-10-15 22:36:38 +0000
commite13ec5ce17bdc65b8ffc3b0c66fc5a2bfe23a066 (patch)
treef164b3d59c178fbfb72fbeeb7252c5d324019374
parent802832839c228e23de97e6a0b1442a5e1dd8352e (diff)
downloadorg.eclipse.epp.packages-e13ec5ce17bdc65b8ffc3b0c66fc5a2bfe23a066.tar.gz
org.eclipse.epp.packages-e13ec5ce17bdc65b8ffc3b0c66fc5a2bfe23a066.tar.xz
org.eclipse.epp.packages-e13ec5ce17bdc65b8ffc3b0c66fc5a2bfe23a066.zip
Bug 567877: Remove assumption that package names are not substrings of other names (fixup)
-rwxr-xr-xreleng/org.eclipse.epp.config/tools/createSettings.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/releng/org.eclipse.epp.config/tools/createSettings.sh b/releng/org.eclipse.epp.config/tools/createSettings.sh
index d66753b4..1cc441a3 100755
--- a/releng/org.eclipse.epp.config/tools/createSettings.sh
+++ b/releng/org.eclipse.epp.config/tools/createSettings.sh
@@ -55,7 +55,7 @@ echo " <activeProfiles>" >>$SETTINGS_FILE
## PACKAGES contains the list of packages that have been examined already. Start
## by preloading with IGNORED_PACKAGES so that none of them are added
-PACKAGES="${IGNORED_PACKAGES}"
+PACKAGES="xxx ${IGNORED_PACKAGES} xxx"
### use the HEAD commit to find out which package directories contain a change
@@ -99,6 +99,10 @@ then
then
echo "${II} should be added for all packages, but it is ignored or already added."
continue
+ elif [[ ${PACKAGES} =~ " ${II} " ]]
+ then
+ echo "${II} should be added for all packages, but it is ignored or already added."
+ continue
else
PACKAGE="epp.package.${II}"
echo "Adding package $PACKAGE"

Back to the top