Use / instead of ! for regex delimiter to prevent syntax collor errors in older vim

tags/ipasserelle-base-0.2.65-1 0.2.36
Daniel Berteaud 11 years ago
parent e164762626
commit 790c372fb6
  1. 4
      root/etc/e-smith/events/actions/generate-email-sign

@ -96,8 +96,8 @@ foreach my $user (@users){
my $street = $user->prop('Street') || '';
my $city = $user->prop('City') || '';
my $url = $user->prop('Url') || '';
$url =~ s!^https?://!!;
$url =~ s!/$!!;
$url =~ s/^https?:\/\///;
$url =~ s/\/$//;
my $template = $user->prop('SignatureTemplate') || "email";
my $addr = "$street $postalcode $city";

Loading…
Cancel
Save