summaryrefslogtreecommitdiffstats
path: root/libreoffice/build/gensrc_lo42.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-01-28 12:23:16 +0000
committer Eric Hameleers <alien@slackware.com>2013-01-28 12:23:16 +0000
commitadf77a6c47242d172c310213f493d6fd5ef86325 (patch)
tree4c3235da93c91a00fc20b76c3775f1cd73d635dc /libreoffice/build/gensrc_lo42.sh
parentfb6487af29c2d92c72a4c864fd1566a79ad64b13 (diff)
downloadasb-adf77a6c47242d172c310213f493d6fd5ef86325.tar.gz
asb-adf77a6c47242d172c310213f493d6fd5ef86325.tar.xz
Works for 4.0.0 RC2
Diffstat (limited to 'libreoffice/build/gensrc_lo42.sh')
-rwxr-xr-xlibreoffice/build/gensrc_lo42.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/libreoffice/build/gensrc_lo42.sh b/libreoffice/build/gensrc_lo42.sh
index 1ae9114e..063d583b 100755
--- a/libreoffice/build/gensrc_lo42.sh
+++ b/libreoffice/build/gensrc_lo42.sh
@@ -2,12 +2,16 @@
PRGNAM=libreoffice
VERSION=4.0.0
-SUBVER=.0.beta2
+SUBVER=.2-buildfix1
-STARTINDEX=7
+STARTINDEX=15
III=$STARTINDEX
+echo "# --- Start of section generated by $(basename $0) ---"
+echo "# External sources for $PRGNAM-$VERSION$SUBVER"
+echo ""
+
# Two temp files to store download data:
TMP_DLLST=$(mktemp -t lo_XXXXXX)
TMP_FETCH=$(mktemp -t lo_XXXXXX)
@@ -22,7 +26,7 @@ eval $( cat $TMP_DLLST | grep "^export " | grep -v MOZ_ZIP | sed -e 's/^export /
# 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"
+ 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
@@ -40,6 +44,8 @@ EOT
done
-# Delete the temorary files:
+echo "# --- End of section generated by $(basename $0) ---"
+
+# Delete the temporary files:
rm -f $TMP_DLLST $TMP_FETCH