UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312 IP: 65.37.49.4 URI: http://wesnoth.slack.it/?WescampInstructions - - - - - Index: WescampInstructions =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/WescampInstructions,v retrieving revision 1.18 diff -u -r1.18 WescampInstructions --- WescampInstructions 10 Jun 2005 16:15:06 -0000 1.18 +++ WescampInstructions 11 Jun 2005 03:05:00 -0000 @@ -55,7 +55,7 @@ - For the very new: the Terminal is located in /Applications/Utilities (for Mac OS X) - Type in 'pwd' to see your current directory. - Type in 'ls' to list the contents of the current directory. - - Type in 'cd DIRECTORYNAME' to change to that directory (which must be a subdirectory of your current directory. + - Type in 'cd DIRECTORYNAME' to change to that directory (which must be a subdirectory of your current directory). - For example, if you are currently in your home directory, typing 'cd Preferences' will change to the Preferences subdirectory. - The slash / character is the root (or top) level directory on your computer. Typing 'cd /' brings you to the top level. - The tilde ~ character is a shortcut for your home folder. @@ -63,6 +63,9 @@ - Another way of saying this is that if my home folder is called scott, then ~ = /Users/scott/ - Delete a file with the 'rm FILENAME' command. If you need to delete a directory, use 'rm -rf DIRECTORYNAME' - Rename a file or directory with the 'mv OLDNAME NEWNAME' command + - IMPORTANT: if you create a shell script using a text editor (which is pretty much everybody) you need to set permissions: + -- type 'chmod 755 FILENAME' in the terminal. This makes your script executable by YOU. + -- type 'ls -l' to confirm that you have read, write, and execute privileges on the file ||Your Campaign - Initial Setup|| @@ -94,9 +97,9 @@ to copy the changed files over to the Liberty-po directory and then send those changes to berlios.de. -Here is a shell script you can use to automate the process. Copy this text into a text editor and call it something -simple like 'commit' (save it in the data/ -campaigns directory): +Here is a shell script for T SHELL you can use to automate the process. Copy this text into a text editor and call it something simple like 'commit' (save it in +the data/campaigns directory): + #!/bin/csh -f set libpath = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty'
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
