mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Avoid backslash escapes that behave differently even on different linux boxes
This commit is contained in:
parent
d73806e461
commit
04b4781e6c
@ -21,12 +21,16 @@
|
||||
# Contributor(s): ______________________________________.
|
||||
#
|
||||
|
||||
# Different echo versions interprete backslash escapes differently.
|
||||
# To avoid related problems lets have:
|
||||
TAB=" "
|
||||
|
||||
platform_aix() {
|
||||
echo '#!'
|
||||
|
||||
for i in `grep -v '#' ${1}`
|
||||
do
|
||||
echo -e "\t$i"
|
||||
echo "${TAB}$i"
|
||||
done
|
||||
}
|
||||
|
||||
@ -44,7 +48,7 @@ do
|
||||
|
||||
if test -n "$i"
|
||||
then
|
||||
echo -e "\t_$i"
|
||||
echo "${TAB}_$i"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@ -62,11 +66,11 @@ platform_linux() {
|
||||
|
||||
for i in `grep -v '#' ${1}`
|
||||
do
|
||||
echo "\t$i;"
|
||||
echo "${TAB}$i;"
|
||||
done
|
||||
|
||||
echo 'local:'
|
||||
echo '\t*;'
|
||||
echo "${TAB}*;"
|
||||
echo '};'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user