mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* lib/mc.menu: Don't call tarballs "releases". Don't
dereference symlinks.
This commit is contained in:
parent
5e962ffbf0
commit
0e0dc9d33a
@ -1,3 +1,8 @@
|
||||
2002-09-12 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* lib/mc.menu: Don't call tarballs "releases". Don't
|
||||
dereference symlinks.
|
||||
|
||||
2002-09-10 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
|
||||
|
26
lib/mc.menu
26
lib/mc.menu
@ -26,23 +26,23 @@ shell_patterns=0
|
||||
info
|
||||
|
||||
= t d
|
||||
3 Make a release of the current subdirectory (tar.gz)
|
||||
Pwd=`basename %d /`
|
||||
echo -n "Name of the distribution file (without extension) [$Pwd]: "
|
||||
3 Compress the current subdirectory (tar.gz)
|
||||
Pwd=`basename "%d" /`
|
||||
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||
read tar
|
||||
if [ "$tar"x = x ]; then tar=$Pwd; fi
|
||||
cd .. && tar chf - $Pwd | gzip -f9 > $tar.tar.gz
|
||||
echo ../${tar}.tar.gz created.
|
||||
# tar=%{Name of the distribution file (without extension)}
|
||||
if [ "$tar"x = x ]; then tar="$Pwd"; fi
|
||||
cd .. && \
|
||||
tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \
|
||||
echo "../$tar.tar.gz created."
|
||||
|
||||
4 Make a release of the current subdirectory (tar.bz2)
|
||||
4 Compress the current subdirectory (tar.bz2)
|
||||
Pwd=`basename %d /`
|
||||
echo -n "Name of the distribution file (without extension) [$Pwd]: "
|
||||
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||
read tar
|
||||
if [ "$tar"x = x ]; then tar=$Pwd; fi
|
||||
cd .. && tar chf - $Pwd | bzip2 -f --repetitive-best > $tar.tar.bz2
|
||||
echo ../${tar}.tar.bz2 created.
|
||||
# tar=%{Name of the distribution file (without extension)}
|
||||
if [ "$tar"x = x ]; then tar="$Pwd"; fi
|
||||
cd .. && \
|
||||
tar cf - "$Pwd" | bzip2 -f --repetitive-best > "$tar.tar.bz2" && \
|
||||
echo "../$tar.tar.bz2 created."
|
||||
|
||||
= f \.c$ & t r
|
||||
+ f \.c$ & t r & ! t t
|
||||
|
Loading…
Reference in New Issue
Block a user