diff options
Diffstat (limited to 'lib/make_defines.sh')
-rw-r--r-- | lib/make_defines.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/make_defines.sh b/lib/make_defines.sh new file mode 100644 index 0000000..405a37d --- /dev/null +++ b/lib/make_defines.sh @@ -0,0 +1,8 @@ +#!/bin/sh +( + echo "extern const char QUEUE_DIR[]=\"$1\";" + echo "extern const char CONFIG_DIR[]=\"$2\";" + echo "extern const char PROTOCOLS_DIR[]=\"$3\";" + echo "extern const char BIN_DIR[]=\"$4\";" + echo "extern const char SBIN_DIR[]=\"$5\";" +) > defines.cc |