Sha256: 4992d307d0b6cd4d0968c4b3f45133e2d8113690919fb53ed0509dbd9e12d1bd
Contents?: true
Size: 511 Bytes
Versions: 23
Compression:
Stored size: 511 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-control) ]; then echo "Error: flapper-control isn't in PATH." echo "Refusing to do anything!" exit 1 fi # Evaluate command rbenv shell 1.9.3-p125 && flapper-control $1 RETVAL=$? exit $RETVAL
Version data entries
23 entries across 23 versions & 1 rubygems