Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fix issue #76
Browse files Browse the repository at this point in the history
Reset the CWD to $C9_DIR once installing a new package.

Signed-off-by: jensenzhang <[email protected]>
  • Loading branch information
fno2010 committed Sep 1, 2016
1 parent 7413f5a commit a1ab428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,17 @@ start() {
mkdir -p "$C9_DIR"/bin
mkdir -p "$C9_DIR"/tmp
mkdir -p "$C9_DIR"/node_modules
cd "$C9_DIR"

# install packages
while [ $# -ne 0 ]
do
if [ "$1" == "tmux" ]; then
cd "$C9_DIR"
time tmux_install $os $arch
shift
continue
fi
cd "$C9_DIR"
time eval ${1} $os $arch
shift
done
Expand Down

0 comments on commit a1ab428

Please sign in to comment.