diff --git a/mozilla/config/fast-update.pl b/mozilla/config/fast-update.pl index 566a96ff4da..e212f80ae7a 100755 --- a/mozilla/config/fast-update.pl +++ b/mozilla/config/fast-update.pl @@ -46,7 +46,7 @@ if (!$hours) { # if there is no such file, this will all just fail, which is ok open REPOSITORY, "; -chop $rootdir; +$rootdir =~ tr/\r\n//d; # Remove newlines close REPOSITORY; # try to guess the current branch by looking at all the