summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-11-25 19:41:38 -0400
committerJoey Hess <joey@kitenet.net>2011-11-25 19:41:38 -0400
commit501b510631ad647d6425774283a93e2a8e7f3ad0 (patch)
tree2e92cec8d39e2cda5562b5ba9c1f76c94ea1565e /pre-commit.d/30store-metadata
parentd5946cd230f5513503f100ed48b9062619d986e7 (diff)
typo
Diffstat (limited to 'pre-commit.d/30store-metadata')
-rwxr-xr-xpre-commit.d/30store-metadata2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index e51f64f..ce0bc02 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -102,7 +102,7 @@ generate_metadata() {
printf "maybe chown %s %s\n", uidname($uid), $_;
}
if ($gid != $)) {
- printf "maybe chgrp %s %s\n", gidname($uid), $_;
+ printf "maybe chgrp %s %s\n", gidname($gid), $_;
}
printf "maybe chmod %04o %s\n", $mode & 07777, $_;
'