forked from mirrored-repos/manjaro-tools
[util-iso] use local vars in logger
This commit is contained in:
parent
fa3de8d6a9
commit
2ffa759cd6
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@
|
|||
|
||||
# $1: function
|
||||
run_log(){
|
||||
logfile=${cache_dir_iso}/${buildset_iso}.log
|
||||
logpipe=$(mktemp -u "/tmp/logpipe.XXXXXXXX")
|
||||
local logfile=${cache_dir_iso}/${buildset_iso}.log
|
||||
local logpipe=$(mktemp -u "/tmp/logpipe.XXXXXXXX")
|
||||
mkfifo "$logpipe"
|
||||
tee "$logfile" < "$logpipe" &
|
||||
local teepid=$!
|
||||
|
@ -74,7 +74,7 @@ copy_livecd_helpers(){
|
|||
cp ${LIBDIR}/util-msg.sh $1
|
||||
cp ${LIBDIR}/util.sh $1
|
||||
cp ${PKGDATADIR}/scripts/kbd-model-map $1
|
||||
|
||||
|
||||
# cp ${LIBDIR}/util-mount.sh $1
|
||||
if [[ -f ${USER_CONFIG}/manjaro-tools.conf ]]; then
|
||||
msg2 "Copying ${USER_CONFIG}/manjaro-tools.conf ..."
|
||||
|
|
Loading…
Reference in a new issue