From 8e246a835ab3e7f6b6af81ca86765b1fe9ff7829 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 2 Jun 2013 23:30:46 +0200 Subject: [PATCH] Don't do camel case in filenames --- src/root/reproduce.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/root/reproduce.tt b/src/root/reproduce.tt index bb7fb1ae..d4624b39 100644 --- a/src/root/reproduce.tt +++ b/src/root/reproduce.tt @@ -97,9 +97,9 @@ if ! [ -d "$inputDir" ]; then revCount="$(cd "$inputDirTmp" && (git rev-list '[% input.revision %]' | wc -l))" rm -rf "$inputDirTmp/.git" mv "$inputDirTmp" "$inputDir" - echo -n $revCount > "$tmpDir/[% input.name %]/revCount" + echo -n $revCount > "$tmpDir/[% input.name %]/rev-count" else - revCount="$(cat "$tmpDir/[% input.name %]/revCount")" + revCount="$(cat "$tmpDir/[% input.name %]/rev-count")" fi args+=(--arg '[% input.name %]' "{ outPath = $inputDir; rev = \"[% input.revision %]\"; shortRev = \"[% input.revision.substr(0, 7) %]\"; revCount = \"$revCount\"; }") @@ -119,9 +119,9 @@ if ! [ -d "$inputDir" ]; then revCount="$(cd "$inputDirTmp" && (hg log -r '[% input.revision %]' --template "{rev}"))" rm -rf "$inputDirTmp/.hg" mv "$inputDirTmp" "$inputDir" - echo -n $revCount > "$tmpDir/[% input.name %]/revCount" + echo -n $revCount > "$tmpDir/[% input.name %]/rev-count" else - revCount="$(cat "$tmpDir/[% input.name %]/revCount")" + revCount="$(cat "$tmpDir/[% input.name %]/rev-count")" fi args+=(--arg '[% input.name %]' "{ outPath = $inputDir; rev = \"[% input.revision %]\"; revCount = \"$revCount\"; }")