Permalink
Browse files

Merge pull request #43 from m-emelchenkov/master

Fix to run under BusyBox shell
  • Loading branch information...
yuzaipiaofei committed Jan 10, 2018
2 parents cb3458a + 5da2138 commit 586691be26cc15e3d0f9fe105750fd215ac08651
Showing with 1 addition and 1 deletion.
  1. +1 −1 dkms
View
2 dkms
@@ -1713,7 +1713,7 @@ do_uninstall()
while [ "${dir_to_remove}" != "${dir_to_remove#/}" ]; do
dir_to_remove="${dir_to_remove#/}"
done
(cd "$install_tree/$1" && rmdir --parents --ignore-fail-on-non-empty "${dir_to_remove}" || true)
(cd "$install_tree/$1" && rm -rf "${dir_to_remove}/*" && rmdir -p "${dir_to_remove}" || true)
echo $" - Original module"
if [[ -e $dkms_tree/$module/original_module/$1/$2/${dest_module_name[$count]}$module_suffix ]]; then
case "$running_distribution" in

0 comments on commit 586691b

Please sign in to comment.