a.binder 9 年之前
父节点
当前提交
6a6cccb8a9
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/build.xml

+ 7 - 1
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/build.xml

@@ -50,7 +50,7 @@
          <echo> gues path of pdf is </echo>
          <exec  executable="bash" dir="." outputproperty="url_of_current_script">
              <arg value="-c"/>
-             <arg value="echo ${url} 's/index.php.*//'"/>
+             <arg value="echo &quot;${url}&quot; |sed 's/[a-zA-Z0-9]*.php.*//'"/>
          </exec>
          <echo message="ERROR__END"/>
         
@@ -101,6 +101,12 @@
         
         <!--<echo message="${wfs_output}"/>-->
         
+        <echo> gues path of pdf is </echo>
+        <exec  executable="bash" dir="." outputproperty="url_of_current_script">
+            <arg value="-c"/>
+            <arg value="echo &quot;${url}&quot; |sed 's/[a-zA-Z0-9]*.php.*//'"/>
+        </exec>
+        
         <echo message="OUTPUT__START"/>        
         <echo>
             &lt;br&gt;Wygenerowano druk pdf - sciagnij go &lt;a href=&quot;https://biuro.biall-net.pl/SE/version-git/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/out/${out_task_file}.pdf&quot;&gt; out/${out_task_file}.pdf&lt;/a&gt;&lt;/br&gt;