summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/compile
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-04 16:25:59 +0100
committerSimon Rettberg2016-03-04 16:25:59 +0100
commit89e1f7912959ec9338022057dc8ee58c200c91c2 (patch)
treeb14f4f5e8788fc395d3d93ba4cd96d50579b3609 /remote/modules/run-virt/compile
parent[run-virt] Add pw passing and share mounting mechanism for win vms (diff)
downloadtm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.tar.gz
tm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.tar.xz
tm-scripts-89e1f7912959ec9338022057dc8ee58c200c91c2.zip
[run-virt/vmware] Mount home directory in windows (first working version)
Diffstat (limited to 'remote/modules/run-virt/compile')
-rwxr-xr-xremote/modules/run-virt/compile8
1 files changed, 7 insertions, 1 deletions
diff --git a/remote/modules/run-virt/compile b/remote/modules/run-virt/compile
index 0e388e46..8c950d7b 100755
--- a/remote/modules/run-virt/compile
+++ b/remote/modules/run-virt/compile
@@ -2,4 +2,10 @@
rm -- winres.exe
i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -std=c99 -Os -Wl,--subsystem,windows -o winres.exe winres.c -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr
-strip winres.exe && echo "Successfully created winres.exe"
+if strip winres.exe; then
+ echo "Successfully created winres.exe"
+ echo "It has NOT been moved to data/.../openslx.exe"
+else
+ echo "FAIL FAIL FAIL no EXE generated!"
+fi
+