that's what i get for not testing first
This commit is contained in:
		@@ -12,7 +12,6 @@ using namespace cellar::commands;
 | 
			
		||||
 | 
			
		||||
namespace cellar {
 | 
			
		||||
    namespace launch {
 | 
			
		||||
        extern void popen(string);
 | 
			
		||||
        extern void popen(vector<string>);
 | 
			
		||||
 | 
			
		||||
    /*[[[cog
 | 
			
		||||
 
 | 
			
		||||
@@ -79,7 +79,9 @@ void cellar::bottles::create_bottle(int argc, vector<string> argv) {
 | 
			
		||||
            output::statement("creating template bottle from scratch");
 | 
			
		||||
            if (!dryrun) {
 | 
			
		||||
                setenv("WINEPREFIX", fullbottlepath.c_str(), 1);
 | 
			
		||||
                launch::popen("wineboot -u");
 | 
			
		||||
                vector<string> wineboot;
 | 
			
		||||
                wineboot.push_back("wineboot"); wineboot.push_back("-u");
 | 
			
		||||
                launch::popen(wineboot);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -21,9 +21,8 @@ void cellar::launch::winetricks(int argc, vector<string> argv) {
 | 
			
		||||
 | 
			
		||||
    auto winetricks_argv = argv;
 | 
			
		||||
    winetricks_argv[0] = "winetricks";
 | 
			
		||||
    string winetricks_str = boost::algorithm::join(winetricks_argv, " ");
 | 
			
		||||
    //output::statement(winetricks_str);
 | 
			
		||||
    launch::popen(winetricks_str);
 | 
			
		||||
    launch::popen(winetricks_argv);
 | 
			
		||||
 | 
			
		||||
    if (bottles::active_bottle.config.find("winetricks") == bottles::active_bottle.config.end()) {
 | 
			
		||||
        bottles::active_bottle.config.emplace("winetricks", vector<string>());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user