creddit: Pass parameters to run.sh to creddit

Small patch to run.sh so that the parameters sent to run.sh get sent to
creddit. So. Ex. you can do this:

./run.sh /r/programming

And that will call creddit with:

./creddit /r/programming
This commit is contained in:
Matt Kilgore 2013-10-19 20:32:12 -04:00
parent 0401aa0046
commit aec31ccff0
1 changed files with 2 additions and 2 deletions

4
run.sh
View File

@ -8,7 +8,7 @@
# issues can be checked for.
if [ "y" == "$REDDIT_DEBUG" ]; then
LD_PRELOAD=./build/libreddit.so valgrind --leak-check=yes ./build/creddit
LD_PRELOAD=./build/libreddit.so valgrind --leak-check=yes ./build/creddit $@
else
LD_PRELOAD=./build/libreddit.so ./build/creddit
LD_PRELOAD=./build/libreddit.so ./build/creddit $@
fi