mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 03:05:44 +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)
|
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