.github/lint: Set PATH in the proper location.

This commit is contained in:
waddlesplash
2022-03-24 09:38:44 -04:00
committed by GitHub
parent 6956618aea
commit 79cca1b70b

View File

@@ -24,9 +24,9 @@ jobs:
- name: 'Set up HaikuPorter' - name: 'Set up HaikuPorter'
run: | run: |
cd .. && git clone https://github.com/haikuports/haikuporter.git --depth=1 && cd haikuports cd .. && git clone https://github.com/haikuports/haikuporter.git --depth=1 && cd haikuports
'PATH=$PATH:../haikuporter' && export PATH
printf 'TREE_PATH="'`pwd`'"\nPACKAGER="Nobody <server@fake>"\nTARGET_ARCHITECTURE="x86"\n' >haikuports.conf printf 'TREE_PATH="'`pwd`'"\nPACKAGER="Nobody <server@fake>"\nTARGET_ARCHITECTURE="x86"\n' >haikuports.conf
wget https://github.com/waddlesplash/haiku-licenses/archive/master.zip && unzip master.zip wget https://github.com/waddlesplash/haiku-licenses/archive/master.zip && unzip master.zip
- name: 'Lint new recipes' - name: 'Lint new recipes'
run: | run: |
"PATH=$PATH:../haikuporter" && export PATH
./lint-new-recipes.sh --config=haikuports.conf --licenses=haiku-licenses-master ./lint-new-recipes.sh --config=haikuports.conf --licenses=haiku-licenses-master