#!/usr/bin/env node
var path = require('path');
var spawn = require('cross-spawn');
var script = process.argv[2];
var args = process.argv.slice(3);

switch (script) {
case 'build':
case 'start':
case 'eject':
  spawn(
    'node',
    [path.resolve(__dirname, '..', 'scripts', script)].concat(args),
    {stdio: 'inherit'}
  );
  break;
default:
  console.log('Unknown script "' + script + '".');
  console.log('Perhaps you need to update react-scripts?');
  break;
}

@@ -17,36 +17,8 @@
 ode%0A
-var path = require('path');%0A
 var 
@@ -204,12 +204,15 @@
    %5B
-path
+require
 .res
@@ -220,35 +220,23 @@
 lve(
-__dirname, '..', '
+'../
 scripts
-',
+/' +
  scr

Simplify path resolving for react-scripts (#168)