Commit ccdfdfdf authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

contrib: Also fix up .pc file on Mac OS X.

parent 544625f1
...@@ -64,11 +64,13 @@ for file in $files; do ...@@ -64,11 +64,13 @@ for file in $files; do
fi fi
fi fi
done done
elif test ".`file $file | grep \"text\|shell\"`" != "." ; then elif test ".`file $file | grep \"text\|shell\"`" != "." -o ".`echo $file | grep pc$`" != "."; then
echo "Fixing up shell/text file "$file"" echo "Fixing up shell/text/pc file "$file""
cp $file $file.tmp cp $file $file.tmp
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file mv -f $file.tmp $file
else
echo "Not doing anything with $file"
fi fi
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment