1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-22 20:45:55 +02:00

schhist/gitsch2ps: removed redundant quotes in assignments.

This commit is contained in:
Werner Almesberger 2010-10-13 04:49:16 -03:00
parent e7f84454e2
commit a1d1182691

View File

@ -55,15 +55,15 @@ while true; do
done done
[ ! -z "$3" -a -z "$5" ] || usage [ ! -z "$3" -a -z "$5" ] || usage
dir="$1" dir=$1
schem="$2" schem=$2
sdir=`dirname "$schem"` sdir=`dirname "$schem"`
if [ -z "$4" ]; then if [ -z "$4" ]; then
commit=HEAD commit=HEAD
outdir="$3" outdir=$3
else else
commit="$3" commit=$3
outdir="$4" outdir=$4
fi fi
[ "$dir" != "${dir#/}" ] || dir=`pwd`/$dir [ "$dir" != "${dir#/}" ] || dir=`pwd`/$dir
@ -72,11 +72,11 @@ fi
[ -d "$dir/.git" ] || usage [ -d "$dir/.git" ] || usage
if $debug; then if $debug; then
tmp="$dir/../_gitsch2ps_$$" tmp=$dir/../_gitsch2ps_$commit
else else
tmp="$dir/../_gitsch2ps" tmp=$dir/../_gitsch2ps
fi fi
sch="$tmp/$sdir" sch=$tmp/$sdir
rm -rf "$tmp" rm -rf "$tmp"
rm -rf "$outdir" rm -rf "$outdir"