aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/ccc/ccclib/Driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ccc/ccclib/Driver.py b/tools/ccc/ccclib/Driver.py
index 983a52bd18..23bc10cb4e 100644
--- a/tools/ccc/ccclib/Driver.py
+++ b/tools/ccc/ccclib/Driver.py
@@ -675,7 +675,7 @@ class Driver(object):
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...