Minor spelling correction.

Change-Id: Ie67291088bbea7142ce663d610005e65fc4c32f1
diff --git a/qemu/scripts/rebuild.py b/qemu/scripts/rebuild.py
index 276ab8f..229965b 100755
--- a/qemu/scripts/rebuild.py
+++ b/qemu/scripts/rebuild.py
@@ -921,7 +921,7 @@
       # `--prefix` above.
       "-Dbindir=../bin",
       # Because the canonicalized `bindir` is `/bin` and does not start
-      # with the `--prefix` the `qemu_firmwarepath` is interpreded differently.
+      # with the `--prefix` the `qemu_firmwarepath` is interpreted differently.
       # Hence we have to rewrite it to work as expected.
       "-Dqemu_firmwarepath=../usr/share/qemu",
       # `gfxstream` is is only capable to output a dynamic library for now
@@ -968,7 +968,14 @@
   build.run(["chmod", "a+rx"] + list(bin_dir.glob("*")))
   build.run(["patchelf", "--set-rpath", "$ORIGIN"] + list(bin_dir.glob("*")))
   build.run(
-      ["tar", "-czvf", "qemu-portable.tar.gz", "-C", "qemu-portable", "."],
+      [
+          "tar",
+          "-czvf",
+          "qemu-portable.tar.gz",
+          "--directory",
+          "qemu-portable",
+          ".",
+      ],
       build.build_dir,
   )