Files
pkgsrc-ng/devel/stgit/patches/patch-aa
2013-09-26 17:14:40 +02:00

18 lines
498 B
Plaintext

$NetBSD: patch-aa,v 1.1 2008/01/10 06:35:49 bjs Exp $
--- contrib/stg-gitk.orig 2007-12-11 18:54:04.000000000 -0500
+++ contrib/stg-gitk
@@ -48,10 +48,10 @@ if [ $allbranches = 1 ]; then
refdirs="$GIT_DIR/refs"
else
# default to current branch
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
branches="$(stg branch)"
fi
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
echo >&2 "ERROR: cannot find current branch."
exit 1
fi