debmaker/lib/exec_in_chroot.sh

10 lines
98 B
Bash
Raw Normal View History

2022-02-20 15:02:18 +01:00
#!/bin/bash
if [ ! "$1" == "" ];
then
source /tmp/dist/$1
shift
FUNC=$1
shift
${FUNC} $*
fi