add some extra second
This commit is contained in:
parent
f8fd08887d
commit
12ab125261
1 changed files with 5 additions and 0 deletions
|
@ -78,7 +78,12 @@ elif [ "$#" -eq 2 ]; then
|
||||||
# signal that the build is done
|
# signal that the build is done
|
||||||
echo > "${tmpdir}/myfifo"
|
echo > "${tmpdir}/myfifo"
|
||||||
# wait for the parent process to finish and exit
|
# wait for the parent process to finish and exit
|
||||||
|
# if we do not do this then schroot cannot umount
|
||||||
|
# because our script will still have the directory as
|
||||||
|
# its working dir
|
||||||
cat "${tmpdir}/myfifo" > /dev/null
|
cat "${tmpdir}/myfifo" > /dev/null
|
||||||
|
# give it some time to really exit (value is arbitrary)
|
||||||
|
sleep 1
|
||||||
;;
|
;;
|
||||||
equivs)
|
equivs)
|
||||||
namever="$2"
|
namever="$2"
|
||||||
|
|
Loading…
Reference in a new issue