mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 07:08:05 +02:00
schhist/gitsch2ps: removed redundant quotes in assignments.
This commit is contained in:
parent
e7f84454e2
commit
a1d1182691
@ -55,15 +55,15 @@ while true; do
|
||||
done
|
||||
|
||||
[ ! -z "$3" -a -z "$5" ] || usage
|
||||
dir="$1"
|
||||
schem="$2"
|
||||
dir=$1
|
||||
schem=$2
|
||||
sdir=`dirname "$schem"`
|
||||
if [ -z "$4" ]; then
|
||||
commit=HEAD
|
||||
outdir="$3"
|
||||
outdir=$3
|
||||
else
|
||||
commit="$3"
|
||||
outdir="$4"
|
||||
commit=$3
|
||||
outdir=$4
|
||||
fi
|
||||
|
||||
[ "$dir" != "${dir#/}" ] || dir=`pwd`/$dir
|
||||
@ -72,11 +72,11 @@ fi
|
||||
[ -d "$dir/.git" ] || usage
|
||||
|
||||
if $debug; then
|
||||
tmp="$dir/../_gitsch2ps_$$"
|
||||
tmp=$dir/../_gitsch2ps_$commit
|
||||
else
|
||||
tmp="$dir/../_gitsch2ps"
|
||||
tmp=$dir/../_gitsch2ps
|
||||
fi
|
||||
sch="$tmp/$sdir"
|
||||
sch=$tmp/$sdir
|
||||
|
||||
rm -rf "$tmp"
|
||||
rm -rf "$outdir"
|
||||
|
Loading…
Reference in New Issue
Block a user