From 4a5b980c35fdea3cac42064b2213e54601c1af01 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 10 Apr 2017 12:15:42 +0100 Subject: [PATCH] Makefile bug which wrote a wrong path into fg42, fixed\ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47f6b58..a0e5dfa 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ install: @cp ./config/fg42.user.el ${HOME}/.fg42.el @echo "Creating the link..." @echo "#! /bin/sh" > ./fg42 - @echo "export FG42_HOME=${HOME}/src/FG42" >> ./fg42 + @echo "export FG42_HOME=$(shell pwd)" >> ./fg42 @echo 'emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $$FG42_HOME/fg42-config.el "$$@"' >> ./fg42 @chmod +x ./fg42 @sudo rm /usr/local/bin/fg42