Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Execution Filerights for Unix Wrappers added locales to the tar

allo9c224ffe99f0
diff --git a/build.properties b/build.properties
index 90ef83163..c7e5bca4a 100644
--- a/build.properties
+++ b/build.properties
@@ -10,8 +10,9 @@ releaseNr=$Revision$
# defining some file/directory access rights
accessRightsDir=755
+accessRightsExecutable=755
accessRightsFile=644
# Extension Configuration: zip|copy
extensionTarget=copy
-extensionFile=yacy_libx_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz
\ No newline at end of file
+extensionFile=yacy_libx_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz
diff --git a/build.xml b/build.xml
index 0912e1fca..f2b576321 100644
--- a/build.xml
+++ b/build.xml
@@ -63,6 +63,7 @@
<property name="libx" location="libx"/>
<property name="build" location="classes"/>
<property name="htroot" location="htroot"/>
+<property name="locales" location="locales"/>
<property name="release" location="RELEASE"/>
<!-- loading some property values from file -->
@@ -245,18 +246,27 @@
<include name="superseed.txt"/>
</tarfileset>
- <!-- copy wrappers -->
+ <!-- copy Unix wrappers -->
+ <tarfileset dir="." dirmode="${accessRightsDir}" mode="${accessRightsExecutable}" prefix="${releaseDir}">
+ <include name="startYACY.sh"/>
+ <include name="stopYACY.sh"/>
+ <include name="killYACY.sh"/>
+ </tarfileset>
+
+ <!-- copy Other wrappers -->
<tarfileset dir="." dirmode="${accessRightsDir}" mode="${accessRightsFile}" prefix="${releaseDir}">
<include name="startYACY.command"/>
<include name="startYACY.bat"/>
<include name="startYACY_noconsole.bat"/>
- <include name="startYACY.sh"/>
<include name="stopYACY.command"/>
<include name="stopYACY.bat"/>
- <include name="stopYACY.sh"/>
- <include name="killYACY.sh"/>
</tarfileset>
+ <!-- copy locales -->
+ <tarfileset dir="${locales}" prefix="${releaseDir}/locales" dirmode="${accessRightsDir}" mode="${accessRightsFile}">
+ <include name="*"/>
+ </tarfileset>
+
<!-- copy documentation -->
<tarfileset dir="." dirmode="${accessRightsDir}" mode="${accessRightsFile}" prefix="${releaseDir}">
<include name="readme.txt"/>