summaryrefslogtreecommitdiff
path: root/source/n/net-tools/get-net-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/net-tools/get-net-tools.sh')
-rwxr-xr-xsource/n/net-tools/get-net-tools.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/net-tools/get-net-tools.sh b/source/n/net-tools/get-net-tools.sh
index 22e4f4bb..69b70151 100755
--- a/source/n/net-tools/get-net-tools.sh
+++ b/source/n/net-tools/get-net-tools.sh
@@ -35,7 +35,7 @@ git clone git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools/
)
HEADISAT="$( cd net-tools && git log -1 --format=%h )"
-DATE="$( cd net-tools && git log -1 --format=%ad --date=format:%Y%m%d )"
+DATE="$( cd net-tools && git log -1 --format=%cd --date=format:%Y%m%d )"
# Cleanup. We're not packing up the whole git repo.
( cd net-tools && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv net-tools net-tools-${DATE}_${HEADISAT}