[Hw4mdl-svn] SF.net SVN: hw4mdl: [177] trunk/moodle/bin/package.sh
Brought to you by:
jhlinder,
trollinger
|
From: <hu...@us...> - 2007-01-10 17:01:40
|
Revision: 177
http://svn.sourceforge.net/hw4mdl/?rev=177&view=rev
Author: hugues
Date: 2007-01-10 09:01:35 -0800 (Wed, 10 Jan 2007)
Log Message:
-----------
http://u.horizonwimba.com/bugzilla/show_bug.cgi?id=10077
Included the help files in the package
Modified Paths:
--------------
trunk/moodle/bin/package.sh
Modified: trunk/moodle/bin/package.sh
===================================================================
--- trunk/moodle/bin/package.sh 2007-01-10 15:36:59 UTC (rev 176)
+++ trunk/moodle/bin/package.sh 2007-01-10 17:01:35 UTC (rev 177)
@@ -93,6 +93,8 @@
LANG_EXPORT_DIR="${SVN_EXPORT_DIR}/moodle/lang"
LANG_BUILD_DIR="${BUILD_DIR}/${package}/lang"
+
+ # Copy the appropriate lang file
for afile in `find ${LANG_EXPORT_DIR} -name "${target}.php"` ; do
src=`dirname ${afile}`
dst=${src/#${LANG_EXPORT_DIR}/${LANG_BUILD_DIR}}
@@ -100,6 +102,16 @@
cp -r ${afile} ${dst}
done
+ # Copy the appropriate help files
+ for afile in `find ${LANG_EXPORT_DIR/help} -name "${target}"` ; do
+ src=`dirname ${afile}`
+ dst=${src/#${LANG_EXPORT_DIR}/${LANG_BUILD_DIR}}
+ mkdir -p ${dst}
+ cp -r ${afile} ${dst}
+ done
+
+
+
cp \
${SVN_EXPORT_DIR}/moodle/README.txt\
${SVN_EXPORT_DIR}/moodle/LICENSE.txt\
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|