Browse Source

Bugfix: make-release: Correctly avoid unused parts of ccan

Luke Dashjr 11 years ago
parent
commit
4453c6f0d6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      make-release

+ 2 - 2
make-release

@@ -38,10 +38,10 @@ cd "$TMPDIR"
 git submodule update --init
 {
 	git archive --prefix "$sw"/ --format tar "$tag"
-	git submodule --quiet foreach --recursive 'test x$name = xccan-upstream || git archive --prefix "'"$sw"'/$path/" --format tar HEAD'
+	git submodule --quiet foreach --recursive 'test x$name = xccan || git archive --prefix "'"$sw"'/$path/" --format tar HEAD'
 	(
 		cd ccan-upstream
-		git archive --prefix "'"$sw"'/$path/" --format tar HEAD ccan/{build_assert,cast,compiler,opt,typesafe_cb}
+		git archive --prefix "$sw/ccan-upstream/" --format tar HEAD ccan/{build_assert,cast,compiler,opt,typesafe_cb}
 	)
 } | tar -xivp
 cd "$sw"