projects
/
wrapfs-mgmt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dfe1d
)
Fixed unbound bash varible
author
rohit
<rohit>
Tue, 27 Mar 2018 13:52:29 +0000
(13:52 +0000)
committer
rohit
<rohit>
Tue, 27 Mar 2018 13:52:29 +0000
(13:52 +0000)
wrapfs-fix-branch.sh
patch
|
blob
|
history
diff --git
a/wrapfs-fix-branch.sh
b/wrapfs-fix-branch.sh
index 7d4af5d8c8b9093e41e14e06ee295ac5195c80b0..3ef137f55c0580d184874a6697fd5cebddf64915 100755
(executable)
--- a/
wrapfs-fix-branch.sh
+++ b/
wrapfs-fix-branch.sh
@@
-61,8
+61,8
@@
esac
# make sure it ends with *.y.git
if [[ "$WRAPFS_REPO" != *".y" ]]; then
wrapfs_repo=`git config --get-regexp "remote.origin.url" "wrapfs" | sed 's/.*\///g'`
- if [ "$repo" != "" ]; then
- WRAPFS_REPO=$repo
+ if [ "$
wrapfs_
repo" != "" ]; then
+ WRAPFS_REPO=$
wrapfs_
repo
else
WRAPFS_REPO=$(echo $WRAPFS_REPO | sed s/git/y.git/g)
fi