[SM-Commit] GIT changes to master grimoire by Ladislav Hagara (c5dbdf7e073875a2d70eefc93a79c4ea1616d6b3)

Ladislav Hagara scm at sourcemage.org
Wed Dec 29 22:32:09 EST 2010


GIT changes to master grimoire by Ladislav Hagara <hgr at vabo.cz>:

 bzr_download.function |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c5dbdf7e073875a2d70eefc93a79c4ea1616d6b3
Author: Ladislav Hagara <hgr at vabo.cz>
Commit: Ladislav Hagara <hgr at vabo.cz>

    bzr_download.function fixed

diff --git a/bzr_download.function b/bzr_download.function
old mode 100644
new mode 100755
index ebfac46..7c528c3
--- 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 &&



More information about the SM-Commit mailing list