summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-15 01:26:56 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-15 01:26:56 +0000
commit13572d122a4b99060ba7d2f0f68db31b037b6999 (patch)
tree28e152913a40df6e6d3ff80904d58afac889a442 /app-emulation
parentpcsx2 ! (diff)
downloadgentoo-2-13572d122a4b99060ba7d2f0f68db31b037b6999.tar.gz
gentoo-2-13572d122a4b99060ba7d2f0f68db31b037b6999.tar.bz2
gentoo-2-13572d122a4b99060ba7d2f0f68db31b037b6999.zip
fix ~/.pcsx generation
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/pcsx/files/pcsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-emulation/pcsx/files/pcsx b/app-emulation/pcsx/files/pcsx
index 5c16fe157f4a..19fd064ea8b3 100644
--- a/app-emulation/pcsx/files/pcsx
+++ b/app-emulation/pcsx/files/pcsx
@@ -20,14 +20,15 @@ if [ ! -f ${HOME}/.pcsx/config ]; then
else
biosname=HLE
fi
+ cd ..
cat >${HOME}/.pcsx/config <<EOF
Bios = $biosname
-Gpu = $(basename $(echo plugins/libgpu* | cut -f1 -d\ ) )
-Spu = $(basename $(echo plugins/libspu* | cut -f1 -d\ ) )
-Cdr = $(basename $(echo plugins/libcdr* | cut -f1 -d\ ) )
-Pad1 = $(basename $(echo plugins/libpadXwin-* | cut -f1 -d\ ) )
-Pad2 = $(basename $(echo plugins/libpadXwin-* | cut -f1 -d\ ) )
+Gpu = $(basename $(ls plugins/libgpu* | cut -f1 -d\ ) )
+Spu = $(basename $(ls plugins/libspu* | cut -f1 -d\ ) )
+Cdr = $(basename $(ls plugins/libcdr* | cut -f1 -d\ ) )
+Pad1 = $(basename $(ls plugins/libpadXwin-* | cut -f1 -d\ ) )
+Pad2 = $(basename $(ls plugins/libpadXwin-* | cut -f1 -d\ ) )
Mcd1 = ${HOME}/.pcsx/memcards/Mcd001.mcr
Mcd2 = ${HOME}/.pcsx/memcards/Mcd002.mcr
PluginsDir = ${HOME}/.pcsx/plugins/