File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1890,14 +1890,20 @@ else
18901890 step_msg " complete"
18911891fi
18921892
1893+ if [ " $CFG_SRC_DIR " = ` pwd` ]; then
1894+ X_PY=x.py
1895+ else
1896+ X_PY=${CFG_SRC_DIR_RELATIVE} x.py
1897+ fi
1898+
18931899if [ -z " $CFG_DISABLE_RUSTBUILD " ]; then
18941900 msg " NOTE you have now configured rust to use a rewritten build system"
18951901 msg " called rustbuild, and as a result this may have bugs that "
18961902 msg " you did not see before. If you experience any issues you can"
18971903 msg " go back to the old build system with --disable-rustbuild and"
18981904 msg " please feel free to report any bugs!"
18991905 msg " "
1900- msg " run \` python x.py --help\` "
1906+ msg " run \` python ${X_PY} --help\` "
19011907else
19021908 warn " the makefile-based build system is deprecated in favor of rustbuild"
19031909 msg " "
Original file line number Diff line number Diff line change 1- # Copyright 20126 The Rust Project Developers. See the COPYRIGHT
1+ # Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22# file at the top-level directory of this distribution and at
33# http://rust-lang.org/COPYRIGHT.
44#
You can’t perform that action at this time.
0 commit comments