Skip to content

Commit

Permalink
don't check for git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Dec 9, 2023
1 parent c11b7bd commit 25f733d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions r/bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.

git_sc <- system2("git", c("rev-parse", "--is-inside-work-tree"), stdout = FALSE, stderr = FALSE)
if (git_sc != 0) {
cli::cli_alert_warning("Not in a git repository, skipping bootstrap.R")
if (!dir.exists('../cpp')) {
cli::cli_alert_warning("Arrow C++ sources not found, skipping bootstrap.")
q(save = "no")
}

Expand Down

0 comments on commit 25f733d

Please sign in to comment.