Bug report #9415

Problem with current Debian build

Added by Andy Wood almost 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:18010

Description

In debian rules file, section: install: build

perl -i -pe 's=#!/usr/bin/env python=#!/usr/bin/python2.7=;' $(find debian/tmp -name "*.py")

causes:

perl -i -pe 's=#!/usr/bin/env python=#!/usr/bin/python2.7=;'
-i used with no filenames on the command line, reading from STDIN.

I do not understand makefiles enough to provide a fix, but perhaps it should be something like (?):
perl -i -pe 's=#!/usr/bin/env python=#!/usr/bin/python2.7=;' $(find $(CURDIR)/debian/tmp -name "*.py")

Andy.

History

#1 Updated by Andy Wood almost 11 years ago

  • Status changed from Open to Closed

Fixed in latest master version.

Also available in: Atom PDF