BlueGit

blue-star danique-bot

Files

danique-bot / node_modules / .bin / phantomjs

phantomjs

Import template
timfa Tim · pushed by timfa · 4 years ago
c788ad20 History
phantomjs 335 B Download Raw
1#!/bin/sh
2basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
4case `uname` in
5 *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6esac
7
8if [ -x "$basedir/node" ]; then
9 "$basedir/node" "$basedir/../phantomjs-prebuilt/bin/phantomjs" "$@"
10 ret=$?
11else
12 node "$basedir/../phantomjs-prebuilt/bin/phantomjs" "$@"
13 ret=$?
14fi
15exit $ret