Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=2d98bf60243ee2826d0a96ca15d26c2943605d13

commit 2d98bf60243ee2826d0a96ca15d26c2943605d13
Author: James Buren <[email protected]>
Date:   Fri Jun 29 11:22:42 2012 -0500

fw32: delete makepkg integration. best done from host makepkg.

diff --git a/fw32.c b/fw32.c
index 8ce1983..ca8fc7b 100644
--- a/fw32.c
+++ b/fw32.c
@@ -526,19 +526,6 @@ repoman(char **args)
mount_all();
}

-static void
-makepkg(char **args)
-{
-  char cwd[PATH_MAX];
-
-  assert(args);
-
-  if(!getcwd(cwd,sizeof cwd))
-    error("getcwd: %s\n",strerror(errno));
-
-  run("/usr/bin/makepkg",cwd,false,args);
-}
-
static int
nftw_cb(const char *path,const struct stat *st,int type,struct FTW *buf)
{
@@ -679,14 +666,6 @@ fw32_merge(char **args1)
}

static void
-fw32_makepkg(char **args1)
-{
-  assert(args1);
-
-  makepkg(args1);
-}
-
-static void
fw32_run(int i,char **args1)
{
char cwd[PATH_MAX];
@@ -795,8 +774,6 @@ main(int argc,char **argv)
fw32_update();
else if(is_cmd(cmd,"fw32-merge"))
fw32_merge(args);
-  else if(is_cmd(cmd,"fw32-makepkg"))
-    fw32_makepkg(args);
else if(is_cmd(cmd,"fw32-delete"))
fw32_delete();
else if(is_cmd(cmd,"fw32-run"))
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to