pestle icon indicating copy to clipboard operation
pestle copied to clipboard

Global Install

Open astorm opened this issue 7 years ago • 2 comments

Had a note to investigate this

https://tommcfarlin.com/globally-installing-wp-cli/

astorm avatar Dec 24 '17 03:12 astorm

cat /usr/local/bin/pastle.sh

#!/bin/bash

cp /usr/local/bin/pestle.phar ./pestle.phar

if [ ! -f ./pestle.phar ]; then
    echo "The current directory not writable. I can not run 'pestle.phar'."
else
    ./pestle.phar $@
    rm ./pestle.phar
fi

indrisepos avatar Oct 13 '18 15:10 indrisepos

@indrisepos I'm not sure what the above is for?

astorm avatar Oct 13 '18 19:10 astorm