aboutsummaryrefslogtreecommitdiff
path: root/www/xpi-adblock/Makefile.xpi
diff options
context:
space:
mode:
Diffstat (limited to 'www/xpi-adblock/Makefile.xpi')
-rw-r--r--www/xpi-adblock/Makefile.xpi6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi
index 623391664664..ef813068251e 100644
--- a/www/xpi-adblock/Makefile.xpi
+++ b/www/xpi-adblock/Makefile.xpi
@@ -61,11 +61,11 @@
MASTER_SITE_MOZILLA_ADDONS= http://addons.cdn.mozilla.net/user-media/%SUBDIR%/
.ifndef MASTER_SITES
-MASTER_SITES?= MOZILLA_ADDONS
.ifdef XPI_NUM
-MASTER_SITE_SUBDIR?= addons/${XPI_NUM}
+MASTER_SITES?= MOZILLA_ADDONS/addons/${XPI_NUM}
+.else
+MASTER_SITES?= MOZILLA_ADDONS/extensions/${XPI_DISTNAME}
.endif
-MASTER_SITE_SUBDIR?= extensions/${XPI_DISTNAME}
.endif
PKGNAMEPREFIX?= xpi-
EXTRACT_SUFX?= .xpi