]> git.pld-linux.org Git - packages/cacti-plugin-weathermap.git/commitdiff
- do it without side-effects
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 20 Sep 2008 16:42:36 +0000 (16:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-plugin-weathermap.spec -> 1.6

cacti-plugin-weathermap.spec

index 9d425af82353a6163531ecf3b31351ccd1571fa8..7a55a76a116d9486af90356550d9616574ed059e 100644 (file)
@@ -43,12 +43,12 @@ przez wtyczki lub zewnętrzne skrypty.
 find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
 
 # fix php path
-%{__sed} -i -e 's/\/local//g' %{namesrc}
+%{__sed} -i -e '1s,#!.*bin/php,#!%{_bindir}/php,' %{namesrc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
-cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
+cp -a . $RPM_BUILD_ROOT%{webcactipluginroot}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.039881 seconds and 4 git commands to generate.