The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #39 from hannesm/fix-test.sh

Fix the opam-repository test script

authored by

Hannes Mehnert and committed by
GitHub
516e2b90 e98494b7

+3 -3
+3 -3
vendor/opam/patch/test/opam-repository/test.sh
··· 1 - #!/bin/sh 1 + #!/usr/bin/env bash 2 2 3 3 set -e 4 4 set -u ··· 24 24 rm -rf ./opam-repository 25 25 git clone --depth=1 https://github.com/ocaml/opam-repository.git 26 26 pushd ./opam-repository/packages > /dev/null 27 - grep -l '^patches:' */*/opam | cut -d/ -f2 >> ../../pkgs-with-patches 27 + grep -rl '^patches:' . | grep '/opam$' | cut -d/ -f3 >> ../../pkgs-with-patches 28 28 popd > /dev/null 29 29 30 30 rm -rf ./opam-repository-archive 31 31 git clone --depth=1 https://github.com/ocaml/opam-repository-archive.git 32 32 pushd ./opam-repository-archive/packages > /dev/null 33 - grep -l '^patches:' */*/opam | cut -d/ -f2 >> ../../pkgs-with-patches 33 + grep -rl '^patches:' . | grep '/opam$' | cut -d/ -f3 >> ../../pkgs-with-patches 34 34 popd > /dev/null 35 35 36 36 NB_OF_PKGS=$(cat ./pkgs-with-patches | wc -l)