#!/bin/sh

if [ -n "$WINEPREFIX" ]
then
    cp "$WINEPREFIX/src/tools/wine.inf"  "$WINEPREFIX/bin/tools/"

    "$WINEPREFIX/bin/tools/wineprefixcreate"  --use-wine-tree  "$WINEPREFIX/bin"
else
    echo "\$WINEPREFIX is empty"
fi


