Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0169-scripts-pre-push-Fix-macOS-bug.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0169-scripts-pre-push-Fix-macOS-bug.patch of Package erlang
From 82fb3a26815fb8745285d3a232974347038577dd Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Wed, 7 Jun 2023 13:52:44 +0200 Subject: [PATCH] scripts/pre-push: Fix macOS bug wc: illegal option -- - usage: wc [-clmw] [file ...] .git/hooks/pre-push: line 216: [: -gt: unary operator expected .git/hooks/pre-push: OK --- scripts/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pre-push b/scripts/pre-push index 1cd22c77f5..f5763646c8 100755 --- a/scripts/pre-push +++ b/scripts/pre-push @@ -212,7 +212,7 @@ then red_off exit 1 fi - NFILES=`git diff --name-only $remote_sha $local_sha | wc --lines` + NFILES=`git diff --name-only $remote_sha $local_sha | wc -l` if [ $NFILES -gt $NFILES_MAX ] then red_on -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor