Skip to content

Commit dc0406a

Browse files
committed
Ignore --config parameter in build-linux script if amd acceleration used
1 parent f017f0b commit dc0406a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/scripts/.build.zsh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ ${_usage_host:-}"
147147
log_output ${_usage}
148148
exit 2
149149
}
150-
config=${2}
150+
if [[ "${+ACCELERATION}" != "amd" ]]
151+
then
152+
config=${2}
153+
fi
151154
shift 2
152155
;;
153156
-s|--codesign) codesign=1; shift ;;

0 commit comments

Comments
 (0)