aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index b0bc98b..bf353a0 100755
--- a/ponysay
+++ b/ponysay
@@ -217,7 +217,7 @@ class Ponysay():
quoteshash = set()
_quotes = []
for quotedir in quotedirs:
- _quotes += [item[:item.index('.')] for item in os.listdir(INSTALLDIR + '/share/ponysay/quotes/')]
+ _quotes += [item[:item.index('.')] for item in os.listdir(quotedir)]
for quote in _quotes:
if not quote == '':
if not quote in quoteshash: