Message ID | 20200824155111.789466-1-brogers@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | meson: Fix shell script syntax in qemu-version.sh | expand |
On 8/24/20 10:51 AM, Bruce Rogers wrote: > There needs to be a space before the closing bracket. > > Signed-off-by: Bruce Rogers <brogers@suse.com> > --- > scripts/qemu-version.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Duplicate of https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg05549.html > > diff --git a/scripts/qemu-version.sh b/scripts/qemu-version.sh > index 4847385e42..03128c56a2 100755 > --- a/scripts/qemu-version.sh > +++ b/scripts/qemu-version.sh > @@ -6,7 +6,7 @@ dir="$1" > pkgversion="$2" > version="$3" > > -if [ -z "$pkgversion"]; then > +if [ -z "$pkgversion" ]; then > cd "$dir" > if [ -e .git ]; then > pkgversion=$(git describe --match 'v*' --dirty | echo "") >
diff --git a/scripts/qemu-version.sh b/scripts/qemu-version.sh index 4847385e42..03128c56a2 100755 --- a/scripts/qemu-version.sh +++ b/scripts/qemu-version.sh @@ -6,7 +6,7 @@ dir="$1" pkgversion="$2" version="$3" -if [ -z "$pkgversion"]; then +if [ -z "$pkgversion" ]; then cd "$dir" if [ -e .git ]; then pkgversion=$(git describe --match 'v*' --dirty | echo "")
There needs to be a space before the closing bracket. Signed-off-by: Bruce Rogers <brogers@suse.com> --- scripts/qemu-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)