summaryrefslogtreecommitdiffstats
path: root/libreoffice
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-06-21 12:30:29 +0000
committer Eric Hameleers <alien@slackware.com>2015-06-21 12:30:29 +0000
commit3d6a418ee0e212a1e501650fe244c20d09ab4879 (patch)
tree8794cd6d407df609a454bfca1b23e76c26c14c1c /libreoffice
parent804d65cd7fcaa7b741069d72633ce5c691a52494 (diff)
downloadasb-3d6a418ee0e212a1e501650fe244c20d09ab4879.tar.gz
asb-3d6a418ee0e212a1e501650fe244c20d09ab4879.tar.xz
libreoffice36: forgot a few places where 'sources' was used.
Diffstat (limited to 'libreoffice')
-rwxr-xr-xlibreoffice/build/libreoffice36.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libreoffice/build/libreoffice36.SlackBuild b/libreoffice/build/libreoffice36.SlackBuild
index db298d52..ad42252d 100755
--- a/libreoffice/build/libreoffice36.SlackBuild
+++ b/libreoffice/build/libreoffice36.SlackBuild
@@ -691,9 +691,9 @@ OUTPUT=$(cd $OUTPUT; pwd)
for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do
if ! [ -f ${SOURCE[$i]} ]; then
echo "Source '$(basename ${SOURCE[$i]})' not available yet..."
- # Check if the $SRCDIR/sources is writable - if not, download to $OUTPUT
- mkdir "$SRCDIR/sources" 2>/dev/null || true
- [ -w "$SRCDIR/sources" ] || SOURCE[$i]="$OUTPUT/$(basename ${SOURCE[$i]})"
+ # Check if the $SRCDIR/sources36 is writable - if not, download to $OUTPUT
+ mkdir "$SRCDIR/sources36" 2>/dev/null || true
+ [ -w "$SRCDIR/sources36" ] || SOURCE[$i]="$OUTPUT/$(basename ${SOURCE[$i]})"
if [ -f ${SOURCE[$i]} ]; then echo "Ah, found it!"; continue; fi
if ! [ "x${SRCURL[$i]}" == "x" ]; then
echo "Will download file to $(dirname $SOURCE[$i])"