changeset 1416:260580385655

Tweak download message when using manual build/package/alt-* setup.
author Rob Landley <rob@landley.net>
date Sat, 23 Jul 2011 21:55:29 -0500
parents 9fcb35fbdbd7
children aabc07905de3
files sources/download_functions.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/download_functions.sh	Sat Jul 23 21:20:06 2011 -0500
+++ b/sources/download_functions.sh	Sat Jul 23 21:55:29 2011 -0500
@@ -209,7 +209,11 @@
   if is_in_list "$BASENAME" $USE_UNSTABLE
   then
     # If extracted source directory exists, don't download alt-tarball.
-    [ -e "$SRCTREE/alt-$BASENAME" ] && return 0
+    if [ -e "$SRCTREE/alt-$BASENAME" ]
+    then
+      echo "Using $SRCTREE/$PACKAGE"
+      return 0
+    fi
 
     # Download new one as alt-packagename.tar.ext
     FILENAME="$ALTFILENAME"