Skip to content

Commit

Permalink
Merge pull request #89 from mgreter/fix/copy-context-options
Browse files Browse the repository at this point in the history
Fix issue with input path being overwritten
  • Loading branch information
mgreter committed Dec 31, 2014
2 parents 65d2bdb + 25d2bb3 commit fbdc12b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sassc.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ int compile_file(struct Sass_Options* options, char* input_path, char* outfile)
struct Sass_File_Context* ctx = sass_make_file_context(input_path);
struct Sass_Context* ctx_out = sass_file_context_get_context(ctx);
if (outfile) sass_option_set_output_path(options, outfile);
sass_option_set_input_path(options, input_path);
sass_file_context_set_options(ctx, options);

sass_compile_file_context(ctx);
Expand Down

0 comments on commit fbdc12b

Please sign in to comment.