fix ticketing system error on bootstrap of new install
[freeside.git] / rt / Makefile.in
index 9034a93..158e703 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -305,9 +305,7 @@ fixperms:
 
        # Make upgrade scripts executable if they are in the source.
        #
-       # Note that we use the deprecated (by GNU/POSIX find) -perm +0NNN syntax
-       # instead of -perm /0NNN since BSD find doesn't support the latter.
-       ( cd etc/upgrade && find . -type f -not -name '*.in' -perm +0111 -print ) | while read file ; do \
+       ( cd etc/upgrade && find . -type f -not -name '*.in' -perm @FINDPERM@0111 -print ) | while read file ; do \
                chmod a+x "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \
        done