source: gs3-extensions/selfcontained-nodejs/trunk/PREPARE-CYGWIN.sh@ 37490

Last change on this file since 37490 was 37490, checked in by davidb, 14 months ago

Changes after testing on cygwin

  • Property svn:executable set to *
File size: 403 bytes
Line 
1#!/bin/bash
2
3version=-v16.13.2
4
5if [ -d node-windows-64bit ] ; then
6 /bin/rm -rf node-windows-64bit
7fi
8
9unzip node${version}-win-x64.zip \
10 && mv node${version}-win-x64 node-windows-64bit
11
12chmod a+x node-windows-64bit/*.{exe,bat,cmd} node-windows-64bit/{npm,npx}
13
14if [ $? = 0 ] ; then
15 echo "Unzipped node$version-win-x64.zip and renamed the directory to:"
16 echo " node-windows-64bit"
17fi
18
19
Note: See TracBrowser for help on using the repository browser.