diff --git a/scripts/upgrade b/scripts/upgrade index 4a88d25..43effd3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,7 +48,7 @@ fi if [ -f "$install_dir/requirements.txt" ]; then mkdir "$install_dir/sources" # Move to $install_dir/sources - find "$install_dir" -maxdepth 1 -mindepth 1 -not -name sources -exec mv {} "$install_dir/sources" + + find "$install_dir" -maxdepth 1 -mindepth 1 -not -name sources -exec mv -t "$install_dir/sources" {} + mv "$install_dir/sources/envs" "$install_dir" fi