aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@83718e91-0e4f-0410-abf4-91180603181f>2010-11-01 18:24:46 +0000
committerknarf <knarf@83718e91-0e4f-0410-abf4-91180603181f>2010-11-01 18:24:46 +0000
commit148d8a3ee318128f0b048547299eb57b14c4d670 (patch)
treeffe34f21a1b532c3b1970602c99742c022169acc
parent308bc9be7eeb56ed459c52b3870ceb5b80b1d9ba (diff)
fix last commit, sorry
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@192 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r--src/make.configuration.deps6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps
index 0f5c4c4..5cd04e1 100644
--- a/src/make.configuration.deps
+++ b/src/make.configuration.deps
@@ -7,7 +7,7 @@
# Should we use gtar or tar?
TAR := $(shell gtar --help > /dev/null 2> /dev/null && echo gtar || echo tar)
# Is this Gnu tar? If so, set this to 1, otherwise to 0
-# This is used to treat a exit code of 1 from gnu tar as non-fatal. This exit code
+# This is used to treat an exit code of 1 from gnu tar as non-fatal. This exit code
# indicates that files changed while reading, which can happen here because of changed
# atimes.
GNUTAR := $(shell $TAR --version 2>/dev/null | grep -q 'GNU tar' && echo "1" || echo "0")
@@ -127,7 +127,7 @@ $(TARBALL_DIR)/cactus-flesh-source.c: $(TARBALL_DIR)/cactus-flesh-source.tar.gz
$(TARBALL_DIR)/cactus-flesh-source.tar.gz: $(TARBALL_DIR)/cactus-flesh-source.files
cd $(CCTK_HOME) && \
- $(TAR) czf $@ -T $< || [ $[ $?/($GNUTAR+1) ] -eq 0 ]
+ $(TAR) czf $@ -T $< || [ $[ $?/\($(GNUTAR)+1\) ] -eq 0 ]
# This dependency means that the tarball for a thorn is only updated
# if the thorn is actually recompiled. This does not catch changes to
@@ -179,7 +179,7 @@ $(TARBALL_DIR)/cactus-thorn-source-%.c: $(TARBALL_DIR)/cactus-thorn-source-%.tar
$(TARBALL_DIR)/cactus-thorn-source-%.tar.gz: $(TARBALL_DIR)/cactus-thorn-source-%.files
cd $(CCTK_HOME) && \
- $(TAR) czf $@ -T $< || [ $[ $?/($GNUTAR+1) ] -eq 0 ]
+ $(TAR) czf $@ -T $< || [ $[ $?/\($(GNUTAR)+1\) ] -eq 0 ]
# This dependency means that the tarball for a thorn is only updated
# if the thorn is actually recompiled. This does not catch changes to