summaryrefslogtreecommitdiffstats
path: root/games/linux-nwnclient
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-12-21 12:09:43 +0000
committerdes <des@FreeBSD.org>2004-12-21 12:09:43 +0000
commit6a6c0284a54ceeae056202705e6f68b623aef4fb (patch)
tree9f59e081754cd05f3ef7c947bc542bf00f94fdea /games/linux-nwnclient
parent6efe4337304d59fefae18fe7cd4dd54d9d5c4507 (diff)
downloadFreeBSD-ports-6a6c0284a54ceeae056202705e6f68b623aef4fb.zip
FreeBSD-ports-6a6c0284a54ceeae056202705e6f68b623aef4fb.tar.gz
Fix some issues in the startup script which may affect new users.
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 cca514a..8f6cb85 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."
OpenPOWER on IntegriCloud