1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 07:29:04 -08:00
This commit is contained in:
Connor Olding 2013-11-15 13:48:43 -08:00
parent 6d3cb8ed31
commit 427f565811
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,6 @@ PROMPT_COMMAND='[ $? = 0 ] && PS1=${ret_succ} || PS1=${ret_fail}'
# this doesn't work for all scripts at the moment, but # this doesn't work for all scripts at the moment, but
ADDPATH "$HOME/sh" ADDPATH "$HOME/sh"
alias reload='exec bash' alias reload='cd; exec bash'
unset x unset x

3
sh/mw
View file

@ -33,7 +33,8 @@ mingw-enable() {
_mw_host=${1:-$_mw_host} _mw_host=${1:-$_mw_host}
local _mw_misc=~/src/mxe/usr/$_mw_host local _mw_misc=~/src/mxe/usr/$_mw_host
local _mw_bin=~/src/mxe/usr/bin local _mw_bin=~/src/mxe/usr/bin
local _mw_prefix=~/opt/mingw local _mw_prefix=~/opt/$_mw_host
mkdir -p "$_mw_prefix"
set -- CC gcc CXX g++ CPP cpp AR ar RANLIB ranlib RC windres WINDRES windres set -- CC gcc CXX g++ CPP cpp AR ar RANLIB ranlib RC windres WINDRES windres
while _mw_export "$1" "$_mw_bin/$_mw_host-$2"; do while _mw_export "$1" "$_mw_bin/$_mw_host-$2"; do