cat instead of install for stale file handle error

pull/10995/head
Dylan Vaughn 10 years ago
parent af5baf7b13
commit dbc61360ba

3
Vagrantfile vendored

@ -46,11 +46,12 @@ mkdir -p "$SRCPATH"
chown -R vagrant:vagrant "$SRCPATH" 2>/dev/null || true
# ^^ silencing errors here because we expect this to fail for the shared folder
install -m0755 /dev/stdin /etc/profile.d/gopath.sh <<EOF
cat >/etc/profile.d/gopath.sh <<EOF
export GOPATH="$SRCPATH"
export GOROOT="$SRCROOT"
export PATH="$SRCROOT/bin:$SRCPATH/bin:\$PATH"
EOF
chmod 755 /etc/profile.d/gopath.sh
cat >>/home/vagrant/.bashrc <<EOF

Loading…
Cancel
Save