diff --git a/package/ranger/ranger.mk b/package/ranger/ranger.mk index aaca43862c..91b30f216e 100644 --- a/package/ranger/ranger.mk +++ b/package/ranger/ranger.mk @@ -19,7 +19,7 @@ define RANGER_DO_NOT_GENERATE_BYTECODE_AT_RUNTIME $(SED) 's%/usr/bin/python -O%/usr/bin/python%g' $(@D)/scripts/ranger endef -ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY)$(BR2_PACKAGE_PYTHON_PYC_ONLY),y) +ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY),y) RANGER_POST_PATCH_HOOKS += RANGER_DO_NOT_GENERATE_BYTECODE_AT_RUNTIME endif