aboutsummaryrefslogtreecommitdiffstats
path: root/script/delete-old-things
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-06-12 09:20:43 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-06-12 09:20:43 +0100
commit54fc48b9b66ce29f660064fbea3e71ea15b61d58 (patch)
tree85269b9ef4f62bce2393134981edf30adf370b05 /script/delete-old-things
parentdc14834a5d85032645f3a410faae68089fb5fe1a (diff)
parent04653b52f2233c9b4fea6b690d16a825b974d36d (diff)
Merge branch 'release/0.6' of github.com:sebbacon/alaveteli into release/0.6
Diffstat (limited to 'script/delete-old-things')
-rwxr-xr-xscript/delete-old-things9
1 files changed, 3 insertions, 6 deletions
diff --git a/script/delete-old-things b/script/delete-old-things
index 1d8cf645b..063d85e1f 100755
--- a/script/delete-old-things
+++ b/script/delete-old-things
@@ -1,9 +1,6 @@
#!/bin/bash
-LOC=`dirname $0`
-
-"$LOC/runner" 'PostRedirect.delete_old_post_redirects()'
-
-"$LOC/runner" 'TrackThingsSentEmail.delete_old_track_things_sent_email()'
-
+cd "`dirname "$0"`"
+bundle exec ./runner 'PostRedirect.delete_old_post_redirects()'
+bundle exec ./runner 'TrackThingsSentEmail.delete_old_track_things_sent_email()'