One more try

This commit is contained in:
T. Joseph Carter 2015-03-10 12:36:15 -07:00
parent 7948e54625
commit 9d91e9e666

View File

@ -1352,39 +1352,39 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
echo echo
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ]; then if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ]; then
cd dist-scripts
rm *.a
cp -v $RARCH_DIST_DIR/*.a .
cd dist-scripts ls -1 *.a | awk -F "." ' { print "cp " $0 " " $1 "_wii." $2 }' |sh
rm *.a sh ./wii-cores.sh
cp -v $RARCH_DIST_DIR/*.a . if [ $? -eq 0 ]; then
MESSAGE="retroarch build successful ($jobid)"
ls -1 *.a | awk -F "." ' { print "cp " $0 " " $1 "_wii." $2 }' |sh echo $MESSAGE
sh ./wii-cores.sh else
if [ $? -eq 0 ]; then MESSAGE="retroarch build failed ($jobid)"
MESSAGE="retroarch build successful ($jobid)" echo $MESSAGE
echo $MESSAGE fi
else buildbot_log "$MESSAGE"
MESSAGE="retroarch build failed ($jobid)" cd ..
echo $MESSAGE
fi fi
buildbot_log "$MESSAGE"
cd .. echo "Packaging"
echo ============================================
cp retroarch.cfg retroarch.default.cfg
mkdir -p wii/pkg/
mkdir -p wii/pkg/overlays
mkdir -p wii/pkg/cheats
mkdir -p wii/pkg/database
mkdir -p wii/pkg/database/cursors
mkdir -p wii/pkg/database/rdb
cp -Rfv media/libretrodb/cht/* wii/pkg/cheats
cp -Rfv media/libretrodb/rdb/* wii/pkg/database/rdb
cp -Rfv media/libretrodb/cursors/* wii/pkg/database/cursors
cp -Rfv media/overlays/* wii/pkg/overlays
fi fi
echo "Packaging"
echo ============================================
cp retroarch.cfg retroarch.default.cfg
mkdir -p wii/pkg/
mkdir -p wii/pkg/overlays
mkdir -p wii/pkg/cheats
mkdir -p wii/pkg/database
mkdir -p wii/pkg/database/cursors
mkdir -p wii/pkg/database/rdb
cp -Rfv media/libretrodb/cht/* wii/pkg/cheats
cp -Rfv media/libretrodb/rdb/* wii/pkg/database/rdb
cp -Rfv media/libretrodb/cursors/* wii/pkg/database/cursors
cp -Rfv media/overlays/* wii/pkg/overlays
fi fi
PATH=$ORIGPATH PATH=$ORIGPATH