Skip to content

Commit

Permalink
fixed a bug when calling a Oz functor or executable with a path that
Browse files Browse the repository at this point in the history
contains spaces
  • Loading branch information
raph committed Apr 22, 2008
1 parent 5f92864 commit 47ed149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ozbatch/Compile.oz
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ define
Platform = {Property.get 'platform.os'}

fun {MakeExecHeader Path}
'#!/bin/sh\nexec '#Path#' $0 "$@"\n'
'#!/bin/sh\nexec '#Path#' "$0" "$@"\n'
end
fun {MakeExecFile File}
{Property.get 'oz.home'}#'/bin/'#File
Expand Down

0 comments on commit 47ed149

Please sign in to comment.