* lib/mc.menu: Don't call tarballs "releases". Don't
dereference symlinks.
Этот коммит содержится в:
родитель
5e962ffbf0
Коммит
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>
|
2002-09-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
|
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
|
info
|
||||||
|
|
||||||
= t d
|
= t d
|
||||||
3 Make a release of the current subdirectory (tar.gz)
|
3 Compress the current subdirectory (tar.gz)
|
||||||
Pwd=`basename %d /`
|
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
|
read tar
|
||||||
if [ "$tar"x = x ]; then tar=$Pwd; fi
|
if [ "$tar"x = x ]; then tar="$Pwd"; fi
|
||||||
cd .. && tar chf - $Pwd | gzip -f9 > $tar.tar.gz
|
cd .. && \
|
||||||
echo ../${tar}.tar.gz created.
|
tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \
|
||||||
# tar=%{Name of the distribution file (without extension)}
|
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 /`
|
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
|
read tar
|
||||||
if [ "$tar"x = x ]; then tar=$Pwd; fi
|
if [ "$tar"x = x ]; then tar="$Pwd"; fi
|
||||||
cd .. && tar chf - $Pwd | bzip2 -f --repetitive-best > $tar.tar.bz2
|
cd .. && \
|
||||||
echo ../${tar}.tar.bz2 created.
|
tar cf - "$Pwd" | bzip2 -f --repetitive-best > "$tar.tar.bz2" && \
|
||||||
# tar=%{Name of the distribution file (without extension)}
|
echo "../$tar.tar.bz2 created."
|
||||||
|
|
||||||
= f \.c$ & t r
|
= f \.c$ & t r
|
||||||
+ f \.c$ & t r & ! t t
|
+ f \.c$ & t r & ! t t
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user