debmaker/lib/exec_in_chroot.sh

10 lines
98 B
Bash
Executable File

#!/bin/bash
if [ ! "$1" == "" ];
then
source /tmp/dist/$1
shift
FUNC=$1
shift
${FUNC} $*
fi