Fix incorrect trap invocation
This commit is contained in:
parent
a43ee46036
commit
1db87c2ef2
@ -92,7 +92,7 @@ arch-build() {
|
|||||||
for file in "$bootstrap"; do
|
for file in "$bootstrap"; do
|
||||||
touch "$file"
|
touch "$file"
|
||||||
chmod 0700 "$file"
|
chmod 0700 "$file"
|
||||||
trap EXIT cleanup "$file"
|
trap cleanup "$file" EXIT
|
||||||
done
|
done
|
||||||
"$bootstrap" "$_optdest"
|
"$bootstrap" "$_optdest"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user