[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuit-dev] Fix src/git.transition portability
From: |
Gerald Pfeifer |
Subject: |
[gnuit-dev] Fix src/git.transition portability |
Date: |
Fri, 26 Dec 2008 13:20:10 +0100 (CET) |
User-agent: |
Alpine 1.99 (LSU 1142 2008-08-13) |
First of all, thanks for renaming this flavor of git to gnuit. That
really makes things easier quite a lot!
I am not actually a user of gnuit, but trying to address a bug caused
by the original name -- http://www.freebsd.org/cgi/query-pr.cgi?pr=126234
-- and have a small patch for you below.
Cheers,
Gerald
2008-12-26 Gerald Pfeifer <address@hidden>
* src/git.transition: Use /bin/sh instead of /bin/bash.
Adjust accordingly.
--- src/git.transition 2008-06-29 01:14:36.000000000 +0200
+++ /home/pfeifer/git.transition 2008-12-26 13:00:30.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
cat >&2 << EOT
@@ -14,7 +14,7 @@
# If we are attached to a terminal, run gitfm, else run git-scm
if [ -t 0 ] && [ -t 1 ];then
echo "Press RETURN to run gitfm" >&2
- read
+ read dummy
exec gitfm "$@"
else
if [ -x /usr/bin/git-scm ]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuit-dev] Fix src/git.transition portability,
Gerald Pfeifer <=