summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-25 19:34:30 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-25 19:34:30 -0500
commit9f8e74337832533a806ac0c46ee993a927f0c057 (patch)
treebbe437b4c3c68ea5c905ad957bb4307af2031354 /Makefile
parent795262f69900af674156bed2bcd0fdb57dbbb55e (diff)
error log, fix memory leak, moved globals to Ted
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index babddc3..41bd8a5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ install: release
@[ -w `dirname $(INSTALL_BIN_DIR)` ] || { echo "You need permission to write to $(INSTALL_BIN_DIR). Try running with sudo/as root." && exit 1; }
mkdir -p $(GLOBAL_DATA_DIR) $(LOCAL_DATA_DIR)
+ chown `logname`:`logname` $(LOCAL_DATA_DIR)
cp -r assets $(GLOBAL_DATA_DIR)
install -m 644 ted.cfg $(GLOBAL_DATA_DIR)
[ ! -e $(LOCAL_DATA_DIR)/ted.cfg ] && install -o `logname` -g `logname` -m 644 ted.cfg $(LOCAL_DATA_DIR) || :