From 4fdddd4bc00b7d43c1abdbe8be2d03aa858703b2 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 17 Aug 2007 14:59:26 +0000 Subject: [PATCH] find the correct FIREFOX_DEFAULT extensions directory path when run on Cygwin --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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