diff options
Diffstat (limited to 'packaging/Windows/defs')
-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 |