* extfs/urar.in: rar lists directories after files, so sort "list"

command output by names to prevent duplications.
This commit is contained in:
Andrew V. Samoilov 2002-12-12 12:48:30 +00:00
parent 5b24e5dc1b
commit 320b62f87e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-12-12 Andrew V. Samoilov <sav@bcs.zp.ua>
* extfs/urar.in: rar lists directories after files, so sort "list"
command output by names to prevent duplications.
2002-12-12 Pavel Roskin <proski@gnu.org> 2002-12-12 Pavel Roskin <proski@gnu.org>
* extfs/urar.in: Strengthen quoting. Don't use full path to rar * extfs/urar.in: Strengthen quoting. Don't use full path to rar

View File

@ -95,7 +95,9 @@ cmd="$1"
shift shift
case "$cmd" in case "$cmd" in
list) mcrarfs_list "$@" ;; list) mcrarfs_list "$@" | sort +9 ;; # rar lists directories
# after files, so sort names
# to prevent duplication
rm) mcrarfs_rm "$@" ;; rm) mcrarfs_rm "$@" ;;
rmdir) mcrarfs_rm "$@" ;; rmdir) mcrarfs_rm "$@" ;;
mkdir) mcrarfs_mkdir "$@" ;; mkdir) mcrarfs_mkdir "$@" ;;