This is another attempt to address the issue introduced in
ae8b2cab67408a043a4fe964d16e4803553c4ee0.
We cannot capture InstalledDir because FileCheck doesn't handle
the backslashes correctly, so instead we just consume the entire
path prefix which is what other tests are doing.
// RUN: %clang -target x86_64-apple-darwin10 -### %t.o 2> %t.log
// RUN: FileCheck -check-prefix=INSTALL-DIR %s < %t.log
-// INSTALL-DIR: InstalledDir: [[INSTALLDIR:.+$]]
-// INSTALL-DIR: "-L[[INSTALLDIR]]{{/|\\\\}}..{{/|\\\\}}lib"
+// INSTALL-DIR: "-L{{.*}}{{/|\\\\}}..{{/|\\\\}}lib"