summaryrefslogtreecommitdiff
path: root/pkgs/development/beam-modules/hooks/rebar-devendor-patch-hook.sh
blob: 032bf9b986fe441a2eb3abadeaece9ba4df362fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# shellcheck shell=bash
#
# It's common to vendor a copy of rebar/rebar3 in repos, but we want to remove those

rebarDevendorPatchHook() {
  echo "Executing rebarDevendorPatchHook"

  rm -f rebar rebar

  echo "Finished rebarDevendorPatchHook"
}

prePatchHooks+=(rebarDevendorPatchHook)