shithub: equis

ref: 066f0810629c611e33869a30ec967e4f559b9f88
dir: /rebind/

View raw version
#!/bin/rc

d=`{basename -d $0}

mkdir -p $d/$objtype/lib/ape/X11/
mkdir -p $d/$objtype/bin/X11/

bind -b $d/sys/lib/ape/ /sys/lib/ape/

bind -a $d/sys/src/ape/ /sys/src/ape/

bind -b $d/sys/src/ape/lib/ /sys/src/ape/lib/

bind $d/sys/src/ape/X11/ /sys/src/ape/X11/

bind -b $d/sys/include/ape/ /sys/include/ape/

bind -c $d/sys/src/ape/X11/cmd/X/ /n/X/

bind -bc $d/$objtype/lib/ape/ /$objtype/lib/ape/
bind -bc $d/$objtype/bin/ /$objtype/bin/

bind -b $d/$cputype/bin/ /bin/