From f1e79c3669f68804c471699badc56a4a33a23246 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 8 Aug 2022 03:05:28 +0000 Subject: CTAN sync 202208080305 --- graphics/asymptote/main.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'graphics/asymptote/main.cc') diff --git a/graphics/asymptote/main.cc b/graphics/asymptote/main.cc index 4361e3dce4..6c69f669b9 100644 --- a/graphics/asymptote/main.cc +++ b/graphics/asymptote/main.cc @@ -193,9 +193,10 @@ void *asymain(void *A) } else { for(int ind=0; ind < n; ind++) { string name=(getArg(ind)); - if(name == stripExt(name)+".v3d") { + string prefix=stripExt(name); + if(name == prefix+".v3d") { interact::uptodate=false; - runString("import v3d; defaultfilename=\""+stripDir(name)+ + runString("import v3d; defaultfilename=\""+stripDir(prefix)+ "\"; importv3d(\""+name+"\");"); } else processFile(name,n > 1); -- cgit v1.2.3