Revision be64da4f85ccf176f20f869a515b98778e40a0b0 authored by Vincent Botbol on 11 June 2019, 10:04:55 UTC, committed by Vincent Botbol on 11 June 2019, 10:04:55 UTC
p2p welcome: Don't stop the worker on accept error See merge request tezos/tezos!1118
opam-remove.sh
#! /bin/sh
set -e
script_dir="$(cd "$(dirname "$0")" && echo "$(pwd -P)/")"
src_dir="$(dirname "$script_dir")"
opams=$(find "$src_dir" -name \*.opam)
packages=
for opam in $opams; do
dir=$(dirname $opam)
file=$(basename $opam)
package=${file%.opam}
packages="$packages $package"
done
installed=$(opam list --short --installed --pinned $packages)
opam remove $installed
Computing file changes ...