correct match if / is the last char of a url and the end of the line

remotes/origin/random_dot_cdist
Daniel Heule 11 years ago
parent 7674cf139b
commit ab6502c9df
  1. 2
      cdist/conf/type/__zypper_repo/explorer/repo_id

@ -26,4 +26,4 @@ if [ -f "$__object/parameter/uri" ]; then
else else
uri="$__object_id" uri="$__object_id"
fi fi
echo $(zypper lr -u | grep -E "\<$uri\>" | cut -d'|' -f 1 | grep -E '^[0-9]' ) echo $(zypper lr -u | grep -F "$uri" | cut -d'|' -f 1 | grep -E '^[0-9]' )

Loading…
Cancel
Save