debmaker/lib/exec_in_chroot.sh

10 lines
97 B
Bash
Executable File

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