mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-18 18:45:54 +00:00
replaced sed with perl
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@190 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
db6e8598a3
commit
f63a72a44d
@ -6,7 +6,7 @@
|
||||
# General Public License Version 2 as published by the Free Software
|
||||
# Foundation or, at your option, any later version.
|
||||
|
||||
sed -e 's/#ifndef GLX_OML_sync_control/#if !defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include <inttypes.h>/' $1 > tmp
|
||||
mv tmp $1
|
||||
sed -e 's/#ifdef GLX_OML_sync_control/#if defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include <inttypes.h>/' $1 > tmp
|
||||
mv tmp $1
|
||||
perl -e 's/#ifndef GLX_OML_sync_control/#if !defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include <inttypes.h>/;' -pi.bak $1
|
||||
rm -f $1.bak
|
||||
perl -e 's/#ifdef GLX_OML_sync_control/#if defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include <inttypes.h>/;' -pi.bak $1
|
||||
rm -f $1.bak
|
||||
|
Loading…
Reference in New Issue
Block a user