File: 02-use-system-path-for-example.patch

package info (click to toggle)
node-get 1.1.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 140 kB
  • ctags: 19
  • sloc: makefile: 32
file content (19 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use system path for node-get library
 The relative path which is used in the source package won't work when
 this package is installed. This patch uses the full system path
 instead.
Origin: vendor
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- node-get.orig/bin/node-get-file.js
+++ node-get/bin/node-get-file.js
@@ -3,7 +3,7 @@
 var path = require('path'),
     url = require('url'),
     util = require('util'),
-    get = require('../lib/node-get/index.js');
+    get = require('/usr/lib/nodejs/get/index.js');
 
 var usage = 'usage:\n' +
     '\ndownload to a file:' +