diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-06-13 17:18:21 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-06-13 17:18:21 +0300 |
commit | 27bf99ebedfd1e4e7a4732d9422bc43fb4582df7 (patch) | |
tree | fe8426c1d09fe79c73d80bf08c0c4a751bc15d53 /packaging | |
parent | 2015a4ab214a8ec73e6a132da76d9681aaa99e06 (diff) |
[packaging] Fix path to wrapper.bat for Windows MSI
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/Windows/defs/mono | 2 | ||||
-rwxr-xr-x | packaging/Windows/defs/mono64 | 2 |
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 |