Cloned library METIS with extra build files for internal package management.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
echo "Replacing $1 with $2"
|
|
|
|
for file in *.[c,h]
|
|
do
|
|
cat $file | sed 's/$1/$2/g' > $file.tmp
|
|
mv $file.tmp $file
|
|
done
|
|
|
|
|