浏览代码

mkimage.sh.in: use for GCP images instead of shell globs

Michael Aldridge 7 年之前
父节点
当前提交
b921097835
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mkimage.sh.in

+ 1 - 1
mkimage.sh.in

@@ -342,7 +342,7 @@ case "$PLATFORM" in
     GCP*)
         # This filename is mandated by the Google Cloud Engine import
         # process, the archive name is not.
-        mv void-GCP*.img disk.raw
+        mv "$FILENAME" disk.raw
         info_msg "Compressing disk.raw"
         tar Sczf "${FILENAME%.img}.tar.gz" disk.raw
         # Since this process just produces something that can be