[patch][debootstrap] local copy support
Hi.
Can you please consider to commit in the attached patch in debootstrap svn?
It introduces support for local copy of debootstrap.
It is useful to semplify testing of debootstrap, but I think it is
useful to release this.
Thanks,
Luca Favatella
P.S.
It was discussed about this in
http://lists.debian.org/debian-boot/2009/03/msg00368.html
Index: debootstrap
===================================================================
--- debootstrap (revision 57962)
+++ debootstrap (working copy)
@@ -12,6 +12,9 @@
if [ -z "$DEBOOTSTRAP_DIR" ]; then
if [ -x /debootstrap/debootstrap ]; then
DEBOOTSTRAP_DIR=/debootstrap
+ elif [ -x $(pwd)/debootstrap ]; then
+ echo "Warning: Using the local copy of debootstrap"
+ DEBOOTSTRAP_DIR=$(pwd)
else
DEBOOTSTRAP_DIR=/usr/share/debootstrap
fi
Reply to: