Searched refs:tmp_dir (Results 1 – 1 of 1) sorted by relevance
30 tmp_dir=$(mktemp -d ${TMPDIR:-/tmp}/depmod.XXXXXX)31 mkdir -p "$tmp_dir/lib/modules/$KERNELRELEASE"32 if "$DEPMOD" -b "$tmp_dir" $KERNELRELEASE 2>/dev/null; then33 if test -e "$tmp_dir/lib/modules/$KERNELRELEASE/modules.dep" -o \34 -e "$tmp_dir/lib/modules/$KERNELRELEASE/modules.dep.bin"; then38 rm -rf "$tmp_dir"