summaryrefslogtreecommitdiff
path: root/package/emulator-common-lib-dev.install.windows
diff options
context:
space:
mode:
Diffstat (limited to 'package/emulator-common-lib-dev.install.windows')
-rw-r--r--package/emulator-common-lib-dev.install.windows13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/emulator-common-lib-dev.install.windows b/package/emulator-common-lib-dev.install.windows
new file mode 100644
index 0000000..7c3450e
--- /dev/null
+++ b/package/emulator-common-lib-dev.install.windows
@@ -0,0 +1,13 @@
+@echo off
+
+setlocal enabledelayedexpansion
+set PC_PATH=%INSTALLED_PATH:"=%\*.pc
+
+@echo !PC_PATH!
+
+FOR /F "delims=" %%i in ('dir /s /b %PC_PATH%') DO (
+@echo %%i
+@echo prefix=!PC_PATH! >> "%%i.bak"
+findstr /B /V ^prefix "%%i" >> "%%i.bak"
+move /Y "%%i.bak" "%%i"
+)