From 394875057169e8947629e87306ed588cebaf274b Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 1 Aug 2013 17:33:09 +0200 Subject: [PATCH] Use a pipe instead of a fifo during installation bash's anonymous fifos are only available if devfs is mounted. On a system without /dev mounted (which is perfectly reasonable for a locked-down security testing machine), installing beef fails with (after applying #923) install-beef: line 81: /dev/fd/62: No such file or directory This commit fixes and lets the installation run through. --- install-beef | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-beef b/install-beef index a91892af9..642a7614c 100644 --- a/install-beef +++ b/install-beef @@ -76,7 +76,7 @@ if [ "$Distro" == "Debian" ]; then sudo apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion -bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) +curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc