X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=9f18ad74cfb8f2c391feff87002bec39abb8ded8;hp=a0db99d0c744b01d0e0e114789bdc92a9ecb45e5;hb=35cefbcdbd6633223fea03a7c61b8b249813dfa3;hpb=d3c9bd094bf6ee7aee342b90090d04cc0a9f3095 diff --git a/grml-debootstrap b/grml-debootstrap index a0db99d..9f18ad7 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -811,6 +811,8 @@ preparechroot() { # execute all scripts in /etc/debootstrap/scripts/ {{{ execute_scripts() { + # make sure we have $MNTPOINT available for our scripts + export MNTPOINT if [ -d "$_opt_scripts" ] || [ "$SCRIPTS" = 'yes' ] ; then [ -d "$_opt_scripts" ] && scripts="$_opt_scripts" || scripts="$CONFFILES/scripts/" for script in ${scripts}/* ; do