[cfe-commits] r62083 - /cfe/trunk/tools/ccc/ccclib/Driver.py
Daniel Dunbar
daniel at zuster.org
Sun Jan 11 23:48:07 PST 2009
Author: ddunbar
Date: Mon Jan 12 01:48:07 2009
New Revision: 62083
URL: http://llvm.org/viewvc/llvm-project?rev=62083&view=rev
Log:
ccc: When constructing a named output, only use base name (not full
path).
Modified:
cfe/trunk/tools/ccc/ccclib/Driver.py
Modified: cfe/trunk/tools/ccc/ccclib/Driver.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Driver.py?rev=62083&r1=62082&r2=62083&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Driver.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Driver.py Mon Jan 12 01:48:07 2009
@@ -675,7 +675,7 @@
output = finalOutput
# Contruct a named destination?
elif atTopLevel or hasSaveTemps:
- output = args.makeSeparateArg(namedOutput,
+ output = args.makeSeparateArg(os.path.basename(namedOutput),
self.parser.oOption)
else:
# Output to temp file...
More information about the cfe-commits
mailing list