diff options
Diffstat (limited to 'libreoffice/build/gensrc.sh')
-rwxr-xr-x | libreoffice/build/gensrc.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libreoffice/build/gensrc.sh b/libreoffice/build/gensrc.sh index fa538328..879e5923 100755 --- a/libreoffice/build/gensrc.sh +++ b/libreoffice/build/gensrc.sh @@ -1,8 +1,8 @@ #!/bin/bash PRGNAM=libreoffice -VERSION=4.2.5 -SUBVER=.2 +VERSION=4.3.0 +SUBVER=.4 STARTINDEX=6 @@ -22,14 +22,14 @@ wget -q -O - "http://cgit.freedesktop.org/libreoffice/core/plain/Makefile.fetch? # Get the names of the tarballs we need: eval $( wget -q -O - "http://cgit.freedesktop.org/libreoffice/core/plain/configure.ac?id=$(echo $PRGNAM-$VERSION$SUBVER)" | grep UNOWINREG_DLL= ) -eval $( cat $TMP_DLLST | grep "^export " | grep -v MOZ_ZIP | sed -e 's/^export //' -e 's/ := /=/' ) +eval $( cat $TMP_DLLST | grep "^export " | grep _TARBALL | grep -v "filter " | grep -v MOZ_ZIP | sed -e 's/^export //' -e 's/ := /=/' ) # Find the download site for a given tarball: find_url() { cat $TMP_FETCH | sed -n "/$1/,/fetch_Download_item/s/^.*fetch_Download_item[^,]*,\([^,]*\),.*$/\1/p" } -for BALL in UNOWINREG_DLL $( cat $TMP_DLLST | grep "^export " | grep -v MOZ_ZIP | sed -e 's/^export //' -e 's/ := .*$//' ); do +for BALL in UNOWINREG_DLL $( cat $TMP_DLLST | grep "^export " | grep _TARBALL | grep -v "filter " | grep -v MOZ_ZIP | sed -e 's/^export //' -e 's/ := .*$//' ); do SRCURL=$(find_url $BALL) FILE=$(eval "echo \$$BALL") @@ -47,5 +47,5 @@ done echo "# --- End of section generated by $(basename $0) ---" # Delete the temporary files: -rm -f $TMP_DLLST $TMP_FETCH +#rm -f $TMP_DLLST $TMP_FETCH |