Ticket #1989: mc.menu.diff

File mc.menu.diff, 1.8 KB (added by pavlinux, 14 years ago)
  • misc/mc.menu

    diff --git a/misc/mc.menu b/misc/mc.menu
    index cf35412..061e69d 100644
    a b shell_patterns=0 
    2828 
    2929= t d 
    30303       Compress the current subdirectory (tar.gz) 
    31         Pwd=`basename %d /` 
     31        Pwd=`basename "$PWD"` 
    3232        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    3333        read tar 
    3434        if [ "$tar"x = x ]; then tar="$Pwd"; fi 
    shell_patterns=0 
    3737        echo "../$tar.tar.gz created." 
    3838 
    39394       Compress the current subdirectory (tar.bz2) 
    40         Pwd=`basename %d /` 
     40        Pwd=`basename "$PWD"` 
    4141        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    4242        read tar 
    4343        if [ "$tar"x = x ]; then tar="$Pwd"; fi 
    shell_patterns=0 
    4646        echo "../$tar.tar.bz2 created." 
    4747 
    48485       Compress the current subdirectory (tar.p7) 
    49         Pwd=`basename %d /` 
     49        Pwd=`basename "$PWD"` 
    5050        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    5151        read tar 
    5252        if [ "$tar"x = x ]; then tar="$Pwd"; fi 
    shell_patterns=0 
    5555        echo "../$tar.tar.7z created." 
    5656 
    57576       Compress the current subdirectory (tar.lzma) 
    58         Pwd=`basename %d /` 
     58        Pwd=`basename "$PWD"` 
    5959        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    6060        read tar 
    6161        if [ "$tar"x = x ]; then tar="$Pwd"; fi 
    shell_patterns=0 
    6464        echo "../$tar.tar.lzma created." 
    6565 
    66667       Compress the current subdirectory (tar.lz) 
    67         Pwd=`basename %d /` 
     67        Pwd=`basename "$PWD"` 
    6868        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    6969        read tar 
    7070        if [ "$tar"x = x ]; then tar="$Pwd"; fi 
    shell_patterns=0 
    7373        echo "../$tar.tar.lz created." 
    7474 
    75758       Compress the current subdirectory (tar.xz) 
    76         Pwd=`basename %d /` 
     76        Pwd=`basename "$PWD"` 
    7777        echo -n "Name of the compressed file (without extension) [$Pwd]: " 
    7878        read tar 
    7979        if [ "$tar"x = x ]; then tar="$Pwd"; fi