aboutsummaryrefslogtreecommitdiff
path: root/games/linux-nwnclient
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-12-21 12:09:43 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-12-21 12:09:43 +0000
commit287a5f4d4a86b65b8c0ba17d1c71a3dc843f3651 (patch)
tree67da4f22aeee2fefad985701fd4cfcc87b416872 /games/linux-nwnclient
parent90479e48ac801621d2a88cc4e517c8d8224d7478 (diff)
downloadports-287a5f4d4a86b65b8c0ba17d1c71a3dc843f3651.tar.gz
ports-287a5f4d4a86b65b8c0ba17d1c71a3dc843f3651.zip
Notes
Diffstat (limited to 'games/linux-nwnclient')
-rw-r--r--games/linux-nwnclient/files/nwn.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/linux-nwnclient/files/nwn.sh b/games/linux-nwnclient/files/nwn.sh
index cca514acb3e5..8f6cb855d646 100644
--- a/games/linux-nwnclient/files/nwn.sh
+++ b/games/linux-nwnclient/files/nwn.sh
@@ -37,7 +37,7 @@ tolower() {
# Rename all files in a directory to lowercase
lowerdir() {
set -e
- find "${@}" -name '*[A-Z]*' | while read name ; do
+ find "$@" -name '*[A-Z]*' | while read name ; do
mv -v "${name}" "$(tolower ${name})"
done
}
@@ -60,7 +60,8 @@ if [ ! -d "${NWNUSERDIR}" ] ; then
copydir "${NWNDATADIR}"
# Some files need to have their names converted to lowercase
- lowerdir "${LCDIRS}"
+ cd "${NWNUSERDIR}"
+ lowerdir ${LCDIRS}
echo "Your Neverwinter Nights directory (~/.nwn) has now been"
echo "created and populated. Press ENTER to start the game."