summaryrefslogtreecommitdiffstats
path: root/bzr_download.function
diff options
context:
space:
mode:
Diffstat (limited to 'bzr_download.function')
-rwxr-xr-x[-rw-r--r--]bzr_download.function2
1 files changed, 1 insertions, 1 deletions
diff --git a/bzr_download.function b/bzr_download.function
index ebfac4653f..7c528c3080 100644..100755
--- a/bzr_download.function
+++ b/bzr_download.function
@@ -2,7 +2,7 @@
## Handler for downloading from bzr URLs
#---------------------------------------------------------------------
function bzr_download() {
- if [ $SOURCE_CACHE/$SOURCE ]
+ if file_exists $SOURCE_CACHE/$SOURCE
then
message "${MESSAGE_COLOR}Unpacking the source...${DEFAULT_COLOR}" &&
tar xjf $SOURCE_CACHE/$SOURCE &&