Commit 3d2c4426 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpm-repack-rpm: hide messages from rmdir

parent 5ac5cb49
......@@ -156,8 +156,8 @@ __epm_repack_to_rpm()
a='' alien --generate --to-rpm $scripts "../$alpkg" >/dev/null || fatal
fi
# remove all empty dirs (hack agains broken dpkg with LF in the end of line) (hack for linux_pantum.deb)
rmdir *
# remove all empty dirs (hack against broken dpkg with LF in the end of line) (hack for linux_pantum.deb)
rmdir * 2>/dev/null
local subdir="$(echo *)"
[ -d "$subdir" ] || fatal "can't find subdir in $(pwd)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment