enspiral-dev-academy / curator

tool for building curriculum
GNU Affero General Public License v3.0
0 stars 0 forks source link

Windows install location. #25

Open michael-smith-nz opened 9 years ago

michael-smith-nz commented 9 years ago

Curator curator file path is wrong when first installed. The path is located at C:\Users\username\AppData\Roaming\npm\curator

File should look like

#!/bin/sh
basedir=`dirname "$0"`

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "$basedir/coffee" ]; then
  "$basedir/coffee"  "$basedir/node_modules/eda-curator/bin/curator" "$@"
  ret=$?
else 
  coffee  "$basedir/node_modules/eda-curator/bin/curator" "$@"
  ret=$?
fi
exit $ret