]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
scripts: Override fetchexclude when we're pulling from within the install_deps.sh...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 25 Mar 2020 20:24:22 +0000 (14:24 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 25 Mar 2020 20:24:22 +0000 (14:24 -0600)
scripts/osx/install_deps.sh

index c3bd25c853fd8724d5494a5cfb29c15f58ceddad..f52794cc02196fc52f59810f3d3bd409776d33aa 100755 (executable)
@@ -79,12 +79,12 @@ fi
 #
 #  These are stored on GitHub in git-lfs.
 #
-if ! git lfs fetch > /dev/null; then
+if ! git -c 'lfs.fetchexclude=' -c 'lfs.fetchinclude=scripts/osx/deps/*' lfs fetch; then
     echo "Failed retrieving proprietary dependencies from git-lfs" 1>&2
     exit 1
 fi
 
-if ! git lfs pull; then
+if ! git -c 'lfs.fetchexclude=' -c 'lfs.fetchinclude=scripts/osx/deps/*' lfs pull; then
     echo "Failed updating dependencies from git-lfs" 1>&2
     exit 1
 fi