aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/make_sr.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/make_sr.bash b/misc/make_sr.bash
index 381c9faf8..be98244af 100755
--- a/misc/make_sr.bash
+++ b/misc/make_sr.bash
@@ -478,7 +478,7 @@ while read a ; do
echo "{"
for (( k = 0 ; k < ${#want_comparison_fields[@]} ; k++ )) ; do
w=${want_comparison_fields[${k}]}
- echo " switch (paludis::compare(${w}, other.${w}))"
+ echo " switch (paludis::compare(${w}, ${w//[^\*]}other.${w#\*}))"
echo " {"
echo " case -1:"
echo " return -1;"