project/bundles/homebrew/fixbundledatapath.sh
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | # SPDX-FileCopyrightText: 2013-2026 by Gilles Caulier <caulier dot gilles at gmail dot com> |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | ######################################################################## |
| 9 | # Fix QStandardPaths problem with non bundle like place to sore data under OSX. |
| 10 | |
| 11 | LC_CTYPE=C find . -name "*.cpp" -type f -exec sed -i '' -e 's/GenericDataLocation/AppDataLocation/g' {} \; |
| 12 |