Permalink
Browse files

Fix arguments passed to configure for `ry install`

It was passing the local name on to `configure`
which was causing an error. It should exclude
`$1` when running configure.
  • Loading branch information...
1 parent f644738 commit f1049d92d57e11799e8db6244379748f7574928e @zhm zhm committed Mar 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ry
View
@@ -169,7 +169,7 @@ ry::build() {
if [[ -x "./configure" ]]; then
log "running ./configure --prefix=\"$install_prefix\"..."
- ./configure --prefix="$install_prefix" "$@"
+ ./configure --prefix="$install_prefix" "${@:2}"
else
log "no ./configure script found, skipping..."
fi

0 comments on commit f1049d9

Please sign in to comment.