aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-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."