From 51ffd0d64a55633e9592c48dd163d2e93bd52ee0 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Mon, 21 Apr 2014 11:06:30 -0700 Subject: [PATCH] Revert "Revert "Fixed: path is wrong with local copy"" This reverts commit 6825e3f7cebe08d6b2cfc10de55d12103d5e08a7. --- bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 641dedb59..63acf1594 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -206,6 +206,7 @@ done github_project="$github_user-cappuccino-base" github_path="$github_user/cappuccino-base" +local_project="cappuccino-base" # The purpose of bootstrap is to install Cappuccino. install_cappuccino="yes" @@ -317,9 +318,9 @@ if [ "$install_cappuccino" ]; then unzip $quiet_arg "$local_distrib" -d "$install_directory" check_and_exit - mv "$install_directory/$github_project-"*/* "$install_directory/." + mv "$install_directory/$local_project-"*/* "$install_directory/." check_and_exit - rm -rf "$install_directory/$github_project-"* + rm -rf "$install_directory/$local_project-"* check_and_exit else zip_ball="https://github.com/$github_path/zipball/$github_ref"