2007-12-05 Laszlo (Laca) Peter <[email protected]>
authorlaca
Tue, 04 Dec 2007 21:07:23 +0000
changeset 11283 14cf5f0dcb60
parent 11282 40382983a644
child 11284 808cdd6b8f63
2007-12-05 Laszlo (Laca) Peter <[email protected]> * SUNWgnome-xml.spec: install the new stylesheets in the foreground to avoid other scripts trying to use them before they are installed. * ext-sources/postrun: ensure that jobs are executed in the order they are submitted, fixes 6573766
ChangeLog
SUNWgnome-xml.spec
ext-sources/postrun
--- a/ChangeLog	Tue Dec 04 16:35:32 2007 +0000
+++ b/ChangeLog	Tue Dec 04 21:07:23 2007 +0000
@@ -1,3 +1,11 @@
+2007-12-05  Laszlo (Laca) Peter  <[email protected]>
+
+	* SUNWgnome-xml.spec: install the new stylesheets in the
+	  foreground to avoid other scripts trying to use them
+	  before they are installed.
+	* ext-sources/postrun: ensure that jobs are executed in
+	  the order they are submitted, fixes 6573766
+
 2007-12-04  Matt Keenan <[email protected]>
 
 	* base-specs/yelp.spec : Add patch to fix yelp search crasher :
--- a/SUNWgnome-xml.spec	Tue Dec 04 16:35:32 2007 +0000
+++ b/SUNWgnome-xml.spec	Tue Dec 04 21:07:23 2007 +0000
@@ -110,7 +110,7 @@
 
 %post -n SUNWgnome-xml-root
 ( echo %{_datadir}/sgml/docbook/docbook-catalog-install.sh
-) | $BASEDIR/var/lib/postrun/postrun -b -c JDS
+) | $BASEDIR/var/lib/postrun/postrun -c JDS
 
 
 %preun -n SUNWgnome-xml-root
--- a/ext-sources/postrun	Tue Dec 04 16:35:32 2007 +0000
+++ b/ext-sources/postrun	Tue Dec 04 21:07:23 2007 +0000
@@ -438,10 +438,12 @@
 
 postrun_runq() {
     cd $SPOOLDIR
-    IFS=' '
+    IFS=' 
+'
     timeleft=0
     postrun_lock
-    for job in *.ctrl; do
+    all_jobs=`/bin/ls -1 *.ctrl | /bin/sort -n`
+    for job in $all_jobs; do
 	test -f "$job" || continue
 	postrun_defaults
 	while read var val; do