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:
3
Makefile
3
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
|
||||
|
||||
Reference in New Issue
Block a user