Minor bug in ipkg 0.9

From: Ross Lillie <lillie.a.t.labs.mot.com>
Date: Tue Jul 24 2001 - 16:03:13 EDT

Hi Carl,

Found minor bug in v0.9 ipkg when using offline destination
(IPKG_OFFLINE_DEST is set) to build new jffs2 images offline. Simply
forgot to protect slashes in offline directory path. I've included the
patch that I've applied below.

Regards,
/ross

-- 
Ross Lillie				Email: lillie@labs.mot.com
Motorola Laboratories			Phone: 847.576.0012
1301 E. Algonquin Rd.  IL02/2240	  FAX: 847.576.3240
Schaumburg, Illinois  60196
=============
--- ./ipkg	Wed Jun 13 22:32:06 2001
+++ ./ipkg.patched	Tue Jul 24 14:58:56 2001
@@ -37,7 +37,7 @@
  	local destre=`echo $1 | ipkg_protect_slashes`
  	sed -ne "/^dest[[:space:]]\+$destre/{
  s/^dest[[:space:]]\+[^[:space:]]\+[[:space:]]\+//
-s/^/$IPKG_OFFLINE_ROOT/
+s/^/`echo $IPKG_OFFLINE_ROOT | ipkg_protect_slashes`/
  p
  }" < $IPKG_CONF
  }
Received on Tue Jul 24 12:56:17 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:28 EDT