mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2504 b08762b0-b915-fc4b-9d8c-17b2551a87ff
48 lines
1.3 KiB
Bash
Executable File
48 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
#! bash -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - tools
|
|
# File: aftercls.sh
|
|
#
|
|
# Copyright 2007 Nintendo. All rights reserved.
|
|
#
|
|
# These coded instructions, statements, and computer programs contain
|
|
# proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
# Company Ltd., and are protected by Federal copyright law. They may
|
|
# not be disclosed to third parties or copied or duplicated in any form,
|
|
# in whole or in part, without the prior written consent of Nintendo.
|
|
#
|
|
# $Date:: $
|
|
# $Rev$
|
|
# $Author$
|
|
#----------------------------------------------------------------------------
|
|
|
|
AQUA='//10.116.1.5'
|
|
CLSED_PATH="${AQUA}/TWL_debug/sysmenu/rom/debug_rom/CLS_processed"
|
|
DAILY_CLSED_DIR=`date +'%Y%m%d'`_cls
|
|
|
|
if [ $# -lt 1 ];
|
|
then
|
|
echo "input target dir name"
|
|
exit
|
|
fi
|
|
|
|
echo "tocsu.sh"
|
|
./tocsu.sh $1
|
|
|
|
echo "toaqua.rb"
|
|
./toaqua.rb $1
|
|
|
|
# Aquaへコピー
|
|
echo "Copying to Aqua"
|
|
cp -r $1_foraqua ${CLSED_PATH}/${DAILY_CLSED_DIR}
|
|
|
|
# Shop ROM のコピー
|
|
shopdir="${AQUA}/TWL_debug/shop/rom/cls/${DAILY_CLSED_DIR}"
|
|
/bin/mkdir ${shopdir}
|
|
/bin/cp $1_foraqua/verup/tad/shop* ${shopdir}
|
|
|
|
# NZV ROM のコピー
|
|
nzvdir="${AQUA}/TWL_debug/nintendo_spot/rom/clsprocessed/"`date +'%Y%m%d'`
|
|
/bin/mkdir ${nzvdir}
|
|
/bin/cp -r $1/HNJ* ${nzvdir} |