From 6bf6be35a0c17cbbf70fff87b4a6eb566862641b Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 19 Jul 2012 05:09:05 +0200 Subject: some shell script fixes --- hacksToDropbox | 6 +++--- hacksToDropboxKP | 6 +++--- makeSummerSun | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hacksToDropbox b/hacksToDropbox index d23228a..ab798ec 100755 --- a/hacksToDropbox +++ b/hacksToDropbox @@ -1,8 +1,8 @@ path=/home/me/Dropbox/NEWERsmbw/Test\ Pack/NewerTestPack/SysSelect copy_files() { - cp NewerASM/n_$1_loader.bin $path/System$2.bin - cp NewerASM/n_$1_dlcode.bin $path/DLCode$2.bin - cp NewerASM/n_$1_dlrelocs.bin $path/DLRelocs$2.bin + cp NewerASM/n_$1_loader.bin "$path/System$2.bin" + cp NewerASM/n_$1_dlcode.bin "$path/DLCode$2.bin" + cp NewerASM/n_$1_dlrelocs.bin "$path/DLRelocs$2.bin" } copy_files pal EU_1 diff --git a/hacksToDropboxKP b/hacksToDropboxKP index 9a60715..c10c90f 100755 --- a/hacksToDropboxKP +++ b/hacksToDropboxKP @@ -1,8 +1,8 @@ path=/home/me/Dropbox/NEWERsmbw/Test\ Pack/NewerTestPack/SysMap copy_files() { - cp NewerASM/n_$1_loader.bin $path/System$2.bin - cp NewerASM/n_$1_dlcode.bin $path/DLCode$2.bin - cp NewerASM/n_$1_dlrelocs.bin $path/DLRelocs$2.bin + cp NewerASM/n_$1_loader.bin "$path/System$2.bin" + cp NewerASM/n_$1_dlcode.bin "$path/DLCode$2.bin" + cp NewerASM/n_$1_dlrelocs.bin "$path/DLRelocs$2.bin" } copy_files pal EU_1 diff --git a/makeSummerSun b/makeSummerSun index 89a2f4a..4927ec4 100755 --- a/makeSummerSun +++ b/makeSummerSun @@ -2,9 +2,9 @@ rm -r ~/.wine remove_files() { - rm ~/Dropbox/NEWERsmbw/Summer\ Sun/System$1.bin - rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$1.bin - rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocs$1.bin + rm "~/Dropbox/NEWERsmbw/Summer\ Sun/System$1.bin" + rm "~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$1.bin" + rm "~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocs$1.bin" } remove_files EU_1 @@ -22,9 +22,9 @@ else fi copy_files() { - cp NewerASM/n_$1_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/System$2.bin - cp NewerASM/n_$1_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$2.bin - cp NewerASM/n_$1_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocs$2.bin + cp NewerASM/n_$1_loader.bin "~/Dropbox/NEWERsmbw/Summer\ Sun/System$2.bin" + cp NewerASM/n_$1_dlcode.bin "~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$2.bin" + cp NewerASM/n_$1_dlrelocs.bin "~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocs$2.bin" } copy_files pal EU_1 -- cgit v1.2.3