OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
977cfe3
)
[change] : var name (mount -> _mount)
author
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:34:42 +0000
(10:34 +0900)
committer
hayao
<shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:34:42 +0000
(10:34 +0900)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
2a3acae
..
0db625f
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-304,10
+304,10
@@
_usage () {
# Unmount chroot dir
umount_chroot () {
- local mount
- for mount in $(mount | awk '{print $3}' | grep $(realpath ${work_dir}) | tac); do
- _msg_info "Unmounting ${mount}"
- umount -lf "${mount}"
+ local
_
mount
+ for
_
mount in $(mount | awk '{print $3}' | grep $(realpath ${work_dir}) | tac); do
+ _msg_info "Unmounting ${
_
mount}"
+ umount -lf "${
_
mount}"
done
}