From e7f6a9884fa0a2c327e6ef087c176cf2d157667b Mon Sep 17 00:00:00 2001 From: graham.gower Date: Sun, 22 Nov 2009 21:15:01 -0500 Subject: Add opkg config file option for tmp_dir. Requested by Mike Westerhof for small memory systems where /tmp is a memory file system. Add, e.g. the following to your opkg config file: option tmp_dir /tmp/frob git-svn-id: http://opkg.googlecode.com/svn/trunk@348 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/args.c') diff --git a/libopkg/args.c b/libopkg/args.c index 3f1e3ce..263078a 100644 --- a/libopkg/args.c +++ b/libopkg/args.c @@ -138,6 +138,7 @@ int args_parse(args_t *args, int argc, char *argv[]) {"offline-root-path", 1, 0, 'p'}, {"test", 0, 0, ARGS_OPT_NOACTION}, {"tmp-dir", 1, 0, 't'}, + {"tmp_dir", 1, 0, 't'}, {"verbosity", 2, 0, 'V'}, {"version", 0, 0, 'v'}, {0, 0, 0, 0} -- cgit v0.9.1