Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-06-13 17:18:21 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-06-13 17:18:21 +0300
commit27bf99ebedfd1e4e7a4732d9422bc43fb4582df7 (patch)
treefe8426c1d09fe79c73d80bf08c0c4a751bc15d53 /packaging
parent2015a4ab214a8ec73e6a132da76d9681aaa99e06 (diff)
[packaging] Fix path to wrapper.bat for Windows MSI
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/Windows/defs/mono2
-rwxr-xr-xpackaging/Windows/defs/mono642
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/Windows/defs/mono b/packaging/Windows/defs/mono
index 2897ea1eaf4..0aec09d9ea3 100755
--- a/packaging/Windows/defs/mono
+++ b/packaging/Windows/defs/mono
@@ -75,7 +75,7 @@ install()
then EXENAME=$(basename `grep -ho '.:/.*\.exe' $i`)
fi
if [ -f "../lib/mono/${RUNTIME}/${EXENAME}" ]
- then sed "s#@@RUNTIME@@#${RUNTIME}#g" $(dirname $0)/../resources/wrapper.bat > $i.bat
+ then sed "s#@@RUNTIME@@#${RUNTIME}#g" ${REPODIR}/packaging/Windows/resources/wrapper.bat > $i.bat
sed -i "s#@@COMMAND@@#${EXENAME}#g" $i.bat
sed -i 's#/#\\#g' $i.bat
fi
diff --git a/packaging/Windows/defs/mono64 b/packaging/Windows/defs/mono64
index cec3177f3fb..bdfaabbbfac 100755
--- a/packaging/Windows/defs/mono64
+++ b/packaging/Windows/defs/mono64
@@ -70,7 +70,7 @@ install()
then EXENAME=$(basename `grep -ho '.:/.*\.exe' $i`)
fi
if [ -f "../lib/mono/${RUNTIME}/${EXENAME}" ]
- then sed "s#@@RUNTIME@@#${RUNTIME}#g" $(dirname $0)/../resources/wrapper.bat > $i.bat
+ then sed "s#@@RUNTIME@@#${RUNTIME}#g" ${REPODIR}/packaging/Windows/resources/wrapper.bat > $i.bat
sed -i "s#@@COMMAND@@#${EXENAME}#g" $i.bat
sed -i 's#/#\\#g' $i.bat
fi