From 6a86f71ba6ea64432e67812eb5d8125d23793212cd1cf753dd71d49b185c5048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 8 Dec 2010 07:59:43 +0000 Subject: [PATCH] fix quoting OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=5 --- tar_scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tar_scm b/tar_scm index e5ec4e6..d2dfeea 100644 --- a/tar_scm +++ b/tar_scm @@ -137,7 +137,7 @@ if [ "$MYSCM" == "svn" ]; then if [ -z "$VERSION" ]; then cd "$FILE" [ -n "$MYPREFIX" ] && MYPREFIX="$MYPREFIX.rev" - VERSION=$MYPREFIX`LC_ALL=C svn info | sed -n 's,^Last Changed Rev: \(.*\),\1,p'` + VERSION="$MYPREFIX"`LC_ALL=C svn info | sed -n 's,^Last Changed Rev: \(.*\),\1,p'` cd - fi elif [ "$MYSCM" == "git" ]; then @@ -169,7 +169,7 @@ elif [ "$MYSCM" == "git" ]; then if [ -z "$VERSION" ]; then cd "$FILE" [ -n "$MYPREFIX" ] && MYPREFIX="$MYPREFIX." - VERSION=$MYPREFIX`git show --pretty=%at | head -n 1` + VERSION="$MYPREFIX"`git show --pretty=%at | head -n 1` cd - fi elif [ "$MYSCM" == "hg" ]; then @@ -201,7 +201,7 @@ elif [ "$MYSCM" == "hg" ]; then if [ -z "$VERSION" ]; then cd "$FILE" [ -n "$MYPREFIX" ] && MYPREFIX="$MYPREFIX." - VERSION=$MYPREFIX`hg tip | head -n 1 | sed -e 's/\s*//g' | awk -F':' '{ print $2 }'` + VERSION="$MYPREFIX"`hg tip | head -n 1 | sed -e 's/\s*//g' | awk -F':' '{ print $2 }'` cd - fi else