diff --git a/scripts/templates/macos/Makefile b/scripts/templates/macos/Makefile index 177e17269cb..70216010e11 100644 --- a/scripts/templates/macos/Makefile +++ b/scripts/templates/macos/Makefile @@ -4,7 +4,7 @@ ifneq ($(wildcard config.make),) include config.make endif -# make sure the the OF_ROOT location is defined +# make sure the OF_ROOT location is defined ifndef OF_ROOT OF_ROOT=$(realpath ../../..) endif diff --git a/scripts/templates/osx/Makefile b/scripts/templates/osx/Makefile index d2f848272ec..fdfbd4b950f 100644 --- a/scripts/templates/osx/Makefile +++ b/scripts/templates/osx/Makefile @@ -4,7 +4,7 @@ ifneq ($(wildcard config.make),) include config.make endif -# make sure the the OF_ROOT location is defined +# make sure the OF_ROOT location is defined ifndef OF_ROOT OF_ROOT=../../.. endif