File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -204,11 +204,12 @@ ask_to_continue() {
204
204
}
205
205
206
206
ask_to_install () {
207
- PKG =$1
207
+ ati_PKG =$1
208
208
MSG=$2
209
209
if [ -n " $AUTOINSTALL " ]; then
210
- logmsg " Auto-installing $PKG ..."
211
- logcmd $PFEXEC pkg install $PKG || logerr " pkg install $PKG failed"
210
+ logmsg " Auto-installing $ati_PKG ..."
211
+ logcmd $PFEXEC pkg install $ati_PKG || \
212
+ logerr " pkg install $ati_PKG failed"
212
213
return
213
214
fi
214
215
if [ -n " $BATCH " ]; then
@@ -217,7 +218,7 @@ ask_to_install() {
217
218
fi
218
219
ask_to_continue_ " $MSG " " Install/Abort?" " i/a" " [iIaA]"
219
220
if [[ " $REPLY " == " i" || " $REPLY " == " I" ]]; then
220
- logcmd $PFEXEC pkg install $PKG || logerr " pkg install failed"
221
+ logcmd $PFEXEC pkg install $ati_PKG || logerr " pkg install failed"
221
222
else
222
223
logmsg " ===== Build aborted ====="
223
224
exit 1
You can’t perform that action at this time.
0 commit comments