SF.net SVN: morphix: [2304] trunk/morph-scripts/debian
[email protected] Mon, 12 Jun 2006 05:46:33 -0700
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2304
Author: alextreme
Date: 2006-06-12 05:46:28 -0700 (Mon, 12 Jun 2006)
ViewCVS: http://svn.sourceforge.net/morphix/?rev=2304&view=rev
Log Message:
-----------
* updating
Modified Paths:
--------------
trunk/morph-scripts/debian/changelog
trunk/morph-scripts/morphmini/morphmini
Modified: trunk/morph-scripts/debian/changelog
===================================================================
--- trunk/morph-scripts/debian/changelog 2006-06-11 21:07:15 UTC (rev 2303)
+++ trunk/morph-scripts/debian/changelog 2006-06-12 12:46:28 UTC (rev 2304)
@@ -1,3 +1,9 @@
+morph-scripts (0.2-22) unstable; urgency=low
+
+ * morphing-morphix update
+
+ -- root <[email protected]> Mon, 12 Jun 2006 14:45:01 +0200
+
morph-scripts (0.2-21) unstable; urgency=low
* changing morphmini <file><local> to recursive copy
Modified: trunk/morph-scripts/morphmini/morphmini
===================================================================
--- trunk/morph-scripts/morphmini/morphmini 2006-06-11 21:07:15 UTC (rev 2303)
+++ trunk/morph-scripts/morphmini/morphmini 2006-06-12 12:46:28 UTC (rev 2304)
@@ -32,7 +32,6 @@
chmod a+x $TMP_DIR/minimod/morphix/loadmod.sh
}
-
xml_get ()
{
RETURN_VALUE=$(xmlstarlet sel -t -m "$1" -v "$2" -v "@$3" -n $4 | sed 's/^[ \t]*//' | sed /^$/d)
@@ -183,13 +182,18 @@
#Confirm parameters
TEMPLATE=$1
BMODULE=$2
+if [ ! -e "/usr/bin/xmlstarlet" ]; then
+ echo "Unable to find xmlstarlet, which is required for morphmini";
+ echo
+ exit
+fi
+
if [ -z "$TEMPLATE" -a -z "$BMODULE" ]; then
echo "Usage: $0 template.xml output.mod"
echo
exit
fi
-
get_global_variables
set_up_module_build
#Test xml file error check.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.