aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-04-17 02:46:11 -0500
committerRob Landley <rob@landley.net>2015-04-17 02:46:11 -0500
commit90afbad4c1f115d5363fe99eb797d2458cd298a0 (patch)
tree9f4a491d440272389b332908eb4dc34d8a9d8196 /main.c
parent17499c3731273d2cffdd96d011cf8ed6aca103da (diff)
downloadtoybox-90afbad4c1f115d5363fe99eb797d2458cd298a0.tar.gz
Make toybox --version use the "git describe" info if it's available.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index a800deea..57022442 100644
--- a/main.c
+++ b/main.c
@@ -5,7 +5,9 @@
#include "toys.h"
+#ifndef TOYBOX_VERSION
#define TOYBOX_VERSION "0.5.2"
+#endif
// Populate toy_list[].