Sha256: 7c3acaf5d29a85ddb8d67706cf6aee4d1dd1df57fb0a8bdd7bbc406b9376d74a

Contents?: true

Size: 486 Bytes

Versions: 35

Compression:

Stored size: 486 Bytes

Contents

#!/bin/bash
#
# flapper
#

PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/lib/flapjack/bin

# load global rbenv environment if present
if [ -x /etc/profile.d/rbenv.sh ] ; then
  source /etc/profile.d/rbenv.sh
fi

# Default return value
RETVAL=0

if [ ! $(which flapper) ]; then
  echo "Error: flapper isn't in PATH."
  echo "Refusing to do anything!"
  exit 1
fi

# Evaluate command
rbenv shell 1.9.3-p125 && flapper $1
RETVAL=$?

exit $RETVAL

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
flapjack-0.7.29 dist/etc/init.d/flapper
flapjack-0.7.28 dist/etc/init.d/flapper
flapjack-0.7.27 dist/etc/init.d/flapper
flapjack-0.7.26 dist/etc/init.d/flapper
flapjack-0.7.25 dist/etc/init.d/flapper
flapjack-0.7.22 dist/etc/init.d/flapper
flapjack-0.7.21 dist/etc/init.d/flapper
flapjack-0.7.20 dist/etc/init.d/flapper
flapjack-0.7.19 dist/etc/init.d/flapper
flapjack-0.7.18 dist/etc/init.d/flapper
flapjack-0.7.17 dist/etc/init.d/flapper
flapjack-0.7.16 dist/etc/init.d/flapper
flapjack-0.7.15 dist/etc/init.d/flapper
flapjack-0.7.14 dist/etc/init.d/flapper
flapjack-0.7.13 dist/etc/init.d/flapper
flapjack-0.7.12 dist/etc/init.d/flapper
flapjack-0.7.11 dist/etc/init.d/flapper
flapjack-0.7.10 dist/etc/init.d/flapper
flapjack-0.7.9 dist/etc/init.d/flapper
flapjack-0.7.8 dist/etc/init.d/flapper