mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
parent
1f231c9538
commit
94956d391a
@ -88,16 +88,22 @@ fi
|
|||||||
|
|
||||||
if [ ! -d $BASE/lyx-patch/lyx-$LAST ]; then
|
if [ ! -d $BASE/lyx-patch/lyx-$LAST ]; then
|
||||||
echo "Can't find directory for last version $LAST.";
|
echo "Can't find directory for last version $LAST.";
|
||||||
echo "Will try to download from LyX site....";
|
echo "See if you can fix this in $BASE/lyx-patch/.";
|
||||||
|
echo "Try that, if you like, and then we'll continue.";
|
||||||
|
echo "We'll try to download from the LyX site if that does not work.";
|
||||||
read;
|
read;
|
||||||
pushd $BASE/lyx-patch/;
|
|
||||||
wget ftp://ftp.lyx.org/pub/lyx/stable/${FIRST}x/lyx-$LAST.tar.gz;
|
if [ ! -d $BASE/lyx-patch/lyx-$LAST ]; then
|
||||||
tar -zxvf lyx-$LAST.tar.gz;
|
echo "Will try to download from LyX site....";
|
||||||
if [ ! -f lyx-$LAST.tar.gz ]; then
|
pushd $BASE/lyx-patch/;
|
||||||
echo "Still unable to find directory for last version $LAST.";
|
wget ftp://ftp.lyx.org/pub/lyx/stable/${FIRST}x/lyx-$LAST.tar.gz;
|
||||||
exit 1;
|
tar -zxvf lyx-$LAST.tar.gz;
|
||||||
|
if [ ! -f lyx-$LAST.tar.gz ]; then
|
||||||
|
echo "Still unable to find directory for last version $LAST.";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
popd;
|
||||||
fi
|
fi
|
||||||
popd;
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Ready to make patch against $LAST...";
|
echo -n "Ready to make patch against $LAST...";
|
||||||
@ -126,7 +132,7 @@ read
|
|||||||
$EDITOR patch-preamble;
|
$EDITOR patch-preamble;
|
||||||
|
|
||||||
PATCH="patch-$VERSION";
|
PATCH="patch-$VERSION";
|
||||||
cat patch-preamble patch >$PATCH;
|
cat patch-preamble $BASE/lyx-export/ANNOUNCE patch >$PATCH;
|
||||||
gzip -c $PATCH > $PATCH.gz
|
gzip -c $PATCH > $PATCH.gz
|
||||||
if [ -f $PATCH.gz.sig ]; then
|
if [ -f $PATCH.gz.sig ]; then
|
||||||
rm $PATCH.gz.sig;
|
rm $PATCH.gz.sig;
|
||||||
|
Loading…
Reference in New Issue
Block a user