remove file

master
Max 6 months ago
parent 86a609d743
commit 72ccc09ee0
  1. 12
      do_sed.sh

@ -1,12 +0,0 @@
#! /bin/sh
srcs=`find lib include -name '*.c' -o -name '*.h' -o -name '*.cc'`
files=`grep -l 'boost.*shared_ptr' $srcs`
dir=`pwd`
for f in $files; do
echo editing file $f in $dir
sed -i 's%boost/shared_ptr.hpp%memory%' $f
sed -i 's%boost::shared_ptr%std::shared_ptr%' $f
done
Loading…
Cancel
Save