Projects
Kolab:3.4
nodejs-less
shebang-and-path.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shebang-and-path.patch of Package nodejs-less (Revision 3)
Currently displaying revision
3
,
Show latest
diff -ur package.orig/bin/lessc package/bin/lessc --- package.orig/bin/lessc 2014-02-27 21:17:14.000000000 +0100 +++ package/bin/lessc 2015-01-07 13:42:08.314053692 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/nodejs var path = require('path'), fs = require('fs'), @@ -6,7 +6,7 @@ os = require('os'), mkdirp; -var less = require('../lib/less'); +var less = require('less'); var args = process.argv.slice(1); var options = { depends: false, @@ -96,7 +96,7 @@ args = args.filter(function (arg) { break; case 'h': case 'help': - require('../lib/less/lessc_helper').printUsage(); + require('less/lessc_helper').printUsage(); continueProcessing = false; case 'x': case 'compress': @@ -243,7 +243,7 @@ args = args.filter(function (arg) { } break; default: - require('../lib/less/lessc_helper').printUsage(); + require('less/lessc_helper').printUsage(); continueProcessing = false; currentErrorcode = 1; break; @@ -288,7 +288,7 @@ if (options.cleancss && options.sourceMap) { if (! input) { console.log("lessc: no input files"); console.log(""); - require('../lib/less/lessc_helper').printUsage(); + require('less/lessc_helper').printUsage(); currentErrorcode = 1; return; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.