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