From 1e723bc95a61fb6c46af82557c128d1e95a33a99 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Wed, 11 Sep 2013 23:43:55 +0000 Subject: [PATCH] Replace multiline with empty string not space --- buildfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildfile.go b/buildfile.go index fcb5abae47..28ba54e55f 100644 --- a/buildfile.go +++ b/buildfile.go @@ -481,7 +481,7 @@ func (b *buildFile) Build(context io.Reader) (string, error) { return "", err } dockerfile := string(fileBytes) - dockerfile = lineContinuation.ReplaceAllString(dockerfile, " ") + dockerfile = lineContinuation.ReplaceAllString(dockerfile, "") stepN := 0 for _, line := range strings.Split(dockerfile, "\n") { line = strings.Trim(strings.Replace(line, "\t", " ", -1), " \t\r\n")