joeylib3d/postlink.sh

12 lines
197 B
Bash
Executable file

#!/bin/bash
GAME=$1
export JOEY=$2
pushd "${GAME}"
find . -type f -name "*.xcf" -exec ${JOEY}/utils/xcf2sta.sh {} \;
popd
mkdir -p data
cp -f "${GAME}"/*.sta data/.
cp -f "${GAME}"/*.obj data/.