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

contrib: Retain permission on files (fixme).

parent af384e2f
......@@ -63,6 +63,7 @@ for file in $files; do
done
elif test ".`file $file | grep \"text\|shell\"`" != "." ; then
echo "Fixing up shell/text file "$file""
cp $file $file.tmp
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file
fi
......@@ -71,6 +72,7 @@ done
files=`find . -name *.la`
for file in $files; do
echo "Fixing up .la $file"
cp $file $file.tmp
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file
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