From a1d118269192bfb6ead17b608dc87e045f3fa59b Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 13 Oct 2010 04:49:16 -0300 Subject: [PATCH] schhist/gitsch2ps: removed redundant quotes in assignments. --- schhist/gitsch2ps | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/schhist/gitsch2ps b/schhist/gitsch2ps index 5f9f803..64d4cf0 100755 --- a/schhist/gitsch2ps +++ b/schhist/gitsch2ps @@ -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"