debmaker/lib/exec_in_chroot.sh

10 lines
97 B
Bash
Raw Normal View History

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