aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-06-17 11:08:45 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-06-17 11:08:45 (GMT)
commit6378f138c5f3bd78ca209af42551b5aeef643b17 (patch)
tree330ad34d6c5e358e16be06477d1b6a6a0ce8ced7
parent65eb692b7629b695ba3b688093b94d7dfcf34c7f (diff)
use_dir.pl: Fix the git_log creation logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xlinux/use_dir.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/use_dir.pl b/linux/use_dir.pl
index 6ade8c5..8681f92 100755
--- a/linux/use_dir.pl
+++ b/linux/use_dir.pl
@@ -312,4 +312,4 @@ if ($get_patched && $patches_applied) {
}
write_ctlfile();
-system "git --git-dir $(DIR)/.git log --pretty=oneline -n3 |sed -r 's,([\x22]),,g; s,([\x25\x5c]),\x5c\\1,g' >git_log"
+system "git --git-dir $dir/.git log --pretty=oneline -n3 |sed -r 's,([\x22]),,g; s,([\x25\x5c]),\x5c\\1,g' >git_log"

Privacy Policy