-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Found my problem was related to sed:

A script named "sarge" in the debootstrap package contains at row 115:

  sed -ne 's/^Version: *//Ip' | head -n 1

looking at the flags Ip: I is some gnu extension for ignore-case, thereof sed 
will fail on all systems lacking this extension.

I changed row 115 to:

  sed -ne 's/^[Vv][Ee][Rr][Ss][Ii][Oo][Nn]: *//p' | head -n 1

and did also do the same change for the script sarge.build at row 77.

Above is a regex accepting the string Version beeing upper/lower-cased in 
whatever possible way like veRSIon or VERSION, without using the I flag. I 
think this makes sense in a boostrap package. (Or, is there some old regex 
that dont accept re:s with brackets []?)


Woohoo! Now it works, so far..., best regards,
Patrik Arvhult

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD3mCIjauAa1f6YKoRAmvRAKCv9SRk8H71PlFj4HhOOhJ19gxTqwCfSkcw
zMEg/DjOoEEaSQaUc9hsecE=
=pwPG
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to