Merge "Use WithBash actions" into main
diff --git a/android/module_context.go b/android/module_context.go
index 1851e7c..45a8e5c 100644
--- a/android/module_context.go
+++ b/android/module_context.go
@@ -816,7 +816,7 @@
 		})
 		if !m.Config().KatiEnabled() {
 			m.Build(pctx, BuildParams{
-				Rule:        Symlink,
+				Rule:        SymlinkWithBash,
 				Description: "install symlink " + fullInstallPath.Base() + " -> " + absPath,
 				Output:      fullInstallPath,
 				Args: map[string]string{
diff --git a/filesystem/android_device_product_out.go b/filesystem/android_device_product_out.go
index 6ac89ad..2c8cad6 100644
--- a/filesystem/android_device_product_out.go
+++ b/filesystem/android_device_product_out.go
@@ -70,7 +70,7 @@
 					// if that's the case.
 					if fip.SymlinkTarget == "" {
 						ctx.Build(pctx, android.BuildParams{
-							Rule:   android.Cp,
+							Rule:   android.CpWithBash,
 							Input:  fip.SourcePath,
 							Output: fip.FullInstallPath,
 						})