Lines Matching refs:tmp
49 tmp="$cfg.vbox.tmp"
51 rm -f "$tmp"
52 test ! -e "$tmp" || { echo "Failed to delete $tmp"; return; }
53 touch "$tmp"
54 test -w "$tmp" || { echo "Failed to create $tmp"; return; }
60 cat > "$tmp" << EOF
64 cat "$cfg" | sed -e "/$ALL_SECTIONS/,/$END_SECTION/s/\\(.*\\)/# \\1/" >> "$tmp"
65 test -n "$kbd_drv" && cat >> "$tmp" << EOF
77 cat >> "$tmp" << EOF
111 cat >> "$tmp" << EOF
138 mv "$tmp" "$cfg"