summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2007-08-17 14:59:26 +0000
committerDoug Kearns <dougkearns@gmail.com>2007-08-17 14:59:26 +0000
commit4fdddd4bc00b7d43c1abdbe8be2d03aa858703b2 (patch)
tree6f4501f5a79acd3fb6523a8340703cc9a07ffed9 /Makefile
parent00f6ced602e21dae7c2c60ee05f2722e15cdf1e6 (diff)
downloadpentadactyl-4fdddd4bc00b7d43c1abdbe8be2d03aa858703b2.tar.gz
find the correct FIREFOX_DEFAULT extensions directory path when run on Cygwin
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d314af1..9d42e5a2 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,9 @@ SED = sed
ifeq (${OS},Darwin)
FIREFOX_DEFAULT = $(wildcard ${HOME}/Library/Application\ Support/Firefox/Profiles/*default)
+else ifeq ($(findstring CYGWIN,${OS}),CYGWIN)
+HOME = $(shell cygpath -sm "${USERPROFILE}")
+FIREFOX_DEFAULT = $(wildcard ${HOME}/Application\ Data/Mozilla/Firefox/Profiles/*default)
else
FIREFOX_DEFAULT = $(wildcard ${HOME}/.mozilla/firefox/*.default)
endif