From 6cc67280450232da4c8ccd590d95e68fa40baa20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Sat, 24 Sep 2011 11:45:47 +0200 Subject: [PATCH] remove autojump.py and mv; use sed -i instead --- autojump.py | 1 - git-version.sh | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 120000 autojump.py diff --git a/autojump.py b/autojump.py deleted file mode 120000 index ee78df4..0000000 --- a/autojump.py +++ /dev/null @@ -1 +0,0 @@ -autojump \ No newline at end of file diff --git a/git-version.sh b/git-version.sh index 725f241..7cc2e06 100755 --- a/git-version.sh +++ b/git-version.sh @@ -4,6 +4,4 @@ gitrevision=`git describe` if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then gitrevision=$gitrevision"-dirty" fi -sed -e "s/^AUTOJUMP_VERSION = \".*\"$/AUTOJUMP_VERSION = \"git revision $gitrevision\"/" autojump > autojump-version -mv -f autojump-version autojump -chmod a+rw autojump +sed -i "s/^AUTOJUMP_VERSION = \".*\"$/AUTOJUMP_VERSION = \"$gitrevision\"/" autojump