virtualization/app-emulation/vmware-player/files/helpers/module_patcher.sh

9 lines
174 B
Bash
Raw Normal View History

#!/bin/bash
MY_BASE=$(basename $1)
if [ -f ${FILESDIR}/${PV}/${MY_BASE}.patch ];
then
echo -n "Module Patcher: "
patch -f -p1 ${1} < ${FILESDIR}/${PV}/${MY_BASE}.patch
fi