Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mepux committed Jul 15, 2020
1 parent f1683fe commit a1900ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cb-install
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ if ! [ -r "$CB_DEVTOOLS/$CB_VERSION_NAME" ]; then
echo "${CB_LINEHEADER}Extract $CB_VERSION_NAME.tgz in $CB_DEVTOOLS..."

tar -zxf "$CB_DEV_REPOSITORY/$CB_VERSION_NAME.tgz" -C "$CB_DEV_REPOSITORY/" >/dev/null 2>&1
tarContentName=$(find $CB_DEV_REPOSITORY/* -type d -name toolarium-common-build-* -print 2>/dev/null)
tarContentName=$(find $CB_DEV_REPOSITORY/* -type d -name 'toolarium-common-build-*' -print 2>/dev/null)
mv "$tarContentName" "$CB_DEVTOOLS/$CB_VERSION_NAME" >/dev/null 2>&1

# remove unecessary files
Expand All @@ -277,7 +277,7 @@ if ! [ -r "$CB_DEVTOOLS/$CB_VERSION_NAME" ]; then
chmod -R +x "$CB_DEVTOOLS/$CB_VERSION_NAME/bin/*" >/dev/null 2>&1
fi

shellProfile="$HOME/.bashrc"
shellProfile="~/.bashrc"
if ! [ "$CB_HOME" = "$CB_DEVTOOLS/$CB_VERSION_NAME" ]; then
echo "${CB_LINEHEADER}Set CB_HOME to $CB_DEVTOOLS/$CB_VERSION_NAME"
CB_HOME="$CB_DEVTOOLS/$CB_VERSION_NAME"
Expand Down

0 comments on commit a1900ea

Please sign in to comment.