Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (164e68ba1b6bdbd46db0cfe4b298051297fe9686)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (164e68ba1b6bdbd46db0cfe4b298051297fe9686)
  • Date: Wed, 27 Apr 2011 05:24:47 -0500

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

bzr_download.function | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 164e68ba1b6bdbd46db0cfe4b298051297fe9686
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

bzr_download.function: fix tarball generation

diff --git a/bzr_download.function b/bzr_download.function
index 86d7918..9eab291 100755
--- a/bzr_download.function
+++ b/bzr_download.function
@@ -8,7 +8,7 @@ function bzr_download() {
if file_exists $SOURCE_CACHE/$SOURCE
then
message "${MESSAGE_COLOR}Unpacking the source...${DEFAULT_COLOR}" &&
- tar xjf $SOURCE_CACHE/$SOURCE &&
+ tar xjf $SOURCE_CACHE/$SOURCE -C $(dirname $SOURCE_DIRECTORY) &&
cd $SOURCE_DIRECTORY &&
message "${MESSAGE_COLOR}Updating...${DEFAULT_COLOR}" &&
echo bzr update &&
@@ -21,6 +21,6 @@ function bzr_download() {
fi &&

message "${MESSAGE_COLOR}Repacking the source...${DEFAULT_COLOR}" &&
- tar cjf $SOURCE $SOURCE_DIRECTORY &&
+ tar cjf $SOURCE -C $(dirname $SOURCE_DIRECTORY) $(basename
$SOURCE_DIRECTORY) &&
mv $SOURCE $SOURCE_CACHE
}



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (164e68ba1b6bdbd46db0cfe4b298051297fe9686), Ismael Luceno, 04/27/2011

Archive powered by MHonArc 2.6.24.

Top of Page