Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
xwjiang-ms committed Jan 7, 2025
1 parent 52e232b commit e3de1f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
condition: and(succeeded(), eq(variables.SKIP_CHECKOUT, ''))
displayName: 'Checkout code'
- script: |
if [ -n "${{ parameters.COMMIT_ID }}" and -n "${{ parameters.SUBMODULE_NAME }}"]; then
if [ -n "${{ parameters.COMMIT_ID }}" and -n "${{ parameters.SUBMODULE_NAME }}" ]; then
git submodule update --init --recursive
cd src/${{ parameters.SUBMODULE_NAME }}
git checkout ${{ parameters.COMMIT_ID }}
Expand All @@ -62,7 +62,6 @@ jobs:
- script: |
BRANCH_NAME=$(Build.SourceBranchName)
[ -n "$SYSTEM_PULLREQUEST_PULLREQUESTID" ] && BRANCH_NAME="$SYSTEM_PULLREQUEST_TARGETBRANCH-$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER"
fi
git checkout -b $BRANCH_NAME
sudo modprobe overlay
sudo apt-get install -y acl
Expand Down

0 comments on commit e3de1f3

Please sign in to comment.