Skip to content

Commit

Permalink
FIX: use system/script/parent/path to tackle #366
Browse files Browse the repository at this point in the history
  • Loading branch information
earl committed Jan 17, 2013
1 parent 59f7ec8 commit 3bcf184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion red.r
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ redc: context [
unless config: select load-targets config-name: to word! trim target [ unless config: select load-targets config-name: to word! trim target [
fail ["Unknown target:" target] fail ["Unknown target:" target]
] ]
base-path: any [system/options/path system/script/path] base-path: system/script/parent/path
opts: make opts config opts: make opts config
opts/config-name: config-name opts/config-name: config-name
opts/build-prefix: base-path opts/build-prefix: base-path
Expand Down

1 comment on commit 3bcf184

@dockimbel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix looks great, I will try it with all my current use-cases.

Please sign in to comment.