SDL-mirror/test/test-automation/build-scripts/install-runner.sh

14 lines
308 B
Bash
Raw Normal View History

2011-08-06 18:00:10 +03:00
#! /bin/bash
cp src/runner/.libs/runner .
chmod u+x runner
PLATFORM="$(uname)"
if [[ $PLATFORM == "Linux" ]]; then
cp -f src/libSDLtest/.libs/libSDLtest.so.0 /usr/local/lib
elif [[ $PLATFORM == "Darwin" ]]; then
cp -f src/libSDLtest/.libs/libSDLtest.0.dylib /usr/local/lib
fi
2011-08-06 18:00:10 +03:00
echo "Runner installed."