summaryrefslogtreecommitdiff
path: root/ranpas
diff options
context:
space:
mode:
Diffstat (limited to 'ranpas')
-rwxr-xr-xranpas2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranpas b/ranpas
index 4ee1188..326357d 100755
--- a/ranpas
+++ b/ranpas
@@ -1,5 +1,5 @@
# Read random pastes from pastie.org ;)
-#!/bin/bash
+#!/usr/bin/env bash
echo Fetching paste list ...
lst=`wget pastie.org/pastes -q -O - | grep "id='paste" | head -n 1 | sed "s/.*id='paste_\([0-9]*\)'.*/\1/"`