summaryrefslogtreecommitdiff
path: root/bin/sources_test
diff options
authorShih-Yuan Lee (FourDollars) <sylee@canonical.com>2020-05-14 16:39:10 +0800
committerShih-Yuan Lee (FourDollars) <sylee@canonical.com>2020-05-14 16:39:10 +0800
commit7517a3ab9d02fc9ca10d5317801fea30d069a98d (patch)
tree880e99c420a227423fd5b6dc481efde85118b72b /bin/sources_test
parentfb4be89be48e8de432db8b318801df933d6e9d48 (diff)
bin/somerville_sources_test, bin/sources_test: Use another way to avoid affecting existing test cases for other projects.
Diffstat (limited to 'bin/sources_test')
-rwxr-xr-xbin/sources_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sources_test b/bin/sources_test
index 3d4f695..f5247d1 100755
--- a/bin/sources_test
+++ b/bin/sources_test
@@ -17,7 +17,7 @@ fi
IFS=$','
for repository in $repositories; do
- if grep -q "^$repository$" "$sources_list"; then
+ if grep -q "$repository" "$sources_list"; then
echo "'$repository' found in $sources_list"
else
echo "'$repository' not found in $sources_list"