Add some sanity checking for pasting in a bad URL
git-svn-id: svn://10.0.0.236/trunk@241299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -94,6 +94,10 @@ EOF
|
||||
print "--\n";
|
||||
my $data = `wget -O- -nv "$filename"`;
|
||||
parse_bonsai_backout_file($data);
|
||||
if (0 == @files) {
|
||||
print "I didn't find any files at that URL, try again.\n";
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
while ($filename) {
|
||||
|
||||
Reference in New Issue
Block a user