Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:16
What would you like to do?
if [ ! -e ${VMTOOlS} ]; then
echo "${VMTOOlS} is Not found. Please save this file for current dir."
exit 1
tar xzf ${VMTOOlS}
cd vmware-tools-distrib/lib/modules/source/
tar xf vmhgfs.tar
sed -i -e s/d_alias/d_u.d_alias/g vmhgfs-only/inode.c
cp -p vmhgfs.tar vmhgfs.tar.origi
tar cf vmhgfs.tar vmhgfs-only
cd ../../../
echo 'Finished patch. Please run "./"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment