1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-10 04:54:11 +01:00

find the correct FIREFOX_DEFAULT extensions directory path when run on Cygwin

This commit is contained in:
Doug Kearns
2007-08-17 14:59:26 +00:00
parent 00f6ced602
commit 4fdddd4bc0

View File

@@ -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