mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 05:11:31 +00:00
ubuntu-cpc: only execute first level executables in the extra hooks
directory
This commit is contained in:
parent
7853f8b318
commit
5b08080057
@ -8,8 +8,11 @@ if [ ! -d ${my_dir}/extra ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Export the common functions to the extras
|
||||||
|
. /build/config/functions
|
||||||
|
|
||||||
# Execute extra binary hooks
|
# Execute extra binary hooks
|
||||||
for recipe in $(find ${extra_d} -type f -executable);
|
for recipe in $(find ${extra_d} -type f -executable -maxdepth 1);
|
||||||
do
|
do
|
||||||
bash ${recipe}
|
bash -xue ${recipe}
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user