diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 53ff52bf..4ac9dcb3 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1088,7 +1088,7 @@ jobs: run: make install - name: Hack to make macdeployqt find plugins shell: bash - run: ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins + run: sudo ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins - name: Create DMG working-directory: build shell: bash @@ -1168,7 +1168,7 @@ jobs: run: make install - name: Hack to make macdeployqt find plugins shell: bash - run: ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins + run: sudo ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins - name: Create DMG working-directory: build shell: bash diff --git a/.travis.yml b/.travis.yml index 7100806c..aad8aaf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ before_script: script: - make -j8 - make install - - ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins + - sudo ln -s /usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt/ | tail -n1)/share/qt/plugins /usr/local/plugins - make dmg2 after_success: - ls -lh strawberry*.dmg