mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-27 21:23:32 +02:00
find the correct FIREFOX_DEFAULT extensions directory path when run on Cygwin
This commit is contained in:
@@ -40,6 +40,9 @@ SED = sed
|
|||||||
|
|
||||||
ifeq (${OS},Darwin)
|
ifeq (${OS},Darwin)
|
||||||
FIREFOX_DEFAULT = $(wildcard ${HOME}/Library/Application\ Support/Firefox/Profiles/*default)
|
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
|
else
|
||||||
FIREFOX_DEFAULT = $(wildcard ${HOME}/.mozilla/firefox/*.default)
|
FIREFOX_DEFAULT = $(wildcard ${HOME}/.mozilla/firefox/*.default)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user