diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 13:11:34 (GMT) |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 13:11:34 (GMT) |
commit | edaeb76e8f4bb56ad10dded3fffb9d82febdae67 (patch) | |
tree | f710475cb8401b4118bab092c2424f4af70ca021 /functions | |
parent | 5daff52c7894188f515bf019ba7004609bcb2ad2 (diff) | |
download | debootstrap-edaeb76e8f4bb56ad10dded3fffb9d82febdae67.zip debootstrap-edaeb76e8f4bb56ad10dded3fffb9d82febdae67.tar.gz debootstrap-edaeb76e8f4bb56ad10dded3fffb9d82febdae67.tar.bz2 |
add /usr/sbin and /sbin to PATH for fakechroot variant. Closes: #588773
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1290,6 +1290,10 @@ on_exit () { ############################################################## fakechroot tools install_fakechroot_tools () { + if [ "$VARIANT" = "fakechroot" ]; then + export PATH=/usr/sbin:/sbin:$PATH + fi + mv "$TARGET/sbin/ldconfig" "$TARGET/sbin/ldconfig.REAL" echo \ "#!/bin/sh |