[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v3 03/11] Add a script to extract VSS SDK he

From: Laszlo Ersek
Subject: Re: [Qemu-devel] [RFC PATCH v3 03/11] Add a script to extract VSS SDK headers on POSIX system
Date: Fri, 24 May 2013 15:14:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Thunderbird/17.0.6

On 05/21/13 23:02, Tomoki Sekiyama wrote:

> Maybe it also should have an additional check and a message to install
> Msitools for the case msiextract isn't exectable.

Right. One POSIX-y way would be

  command -v msiextract >/dev/null

and checking the exit status.


Alternatively, just go ahead calling it, and if the exit status is 126
or 127, assume it is not (correctly) installed and emit an extra hint



reply via email to

[Prev in Thread] Current Thread [Next in Thread]