diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-06-03 14:04:58 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-06-03 14:04:58 +0100 |
commit | b357d29826a67ad527c63d823290226ae2d0c871 (patch) | |
tree | 7b7f3fb020b9066300fa61da9797591cf8372f01 /script/delete-old-things | |
parent | a4b739fde6a9da0a72c6171dad020579604b6757 (diff) |
Make the scripts bundler-aware
Diffstat (limited to 'script/delete-old-things')
-rwxr-xr-x | script/delete-old-things | 9 |
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()' |