X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=6c24cdccc2e769960ff71e1631ff71139982a501;hb=e68e95f8a44150e69d2f4b74995a12013dfe75aa;hp=010d54113d74a859e9eb6e8416ca0e11e501790b;hpb=7b8f5857b28e67c4e829b5442b38ac5705715d8d;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 010d541..6c24cdc 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -23,7 +23,7 @@ Copy::Copy(Builder &b, const Package &pkg, const FS::Path &s, const FS::Path &d) src(s), dest(d) { - announce(pkg.get_name(), "COPY", dest[-1]); + announce(pkg.get_name(), "COPY", dest.str()); if(builder.get_verbose()>=2) IO::print("%s -> %s\n", s, d);