author | andyq <andyq> | 2002-10-10 11:37:08 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-10 11:37:08 (UTC) |
commit | 0d81ca9a11acbe0fb4bb86c176293c119c92f0da (patch) (side-by-side diff) | |
tree | e1a621a224266621431039d1c1edf50cb4889b41 | |
parent | b9729e00576b3466619b1932f410ab39fd719b52 (diff) | |
download | opie-0d81ca9a11acbe0fb4bb86c176293c119c92f0da.zip opie-0d81ca9a11acbe0fb4bb86c176293c119c92f0da.tar.gz opie-0d81ca9a11acbe0fb4bb86c176293c119c92f0da.tar.bz2 |
Fixed missing / off ipkg list locations (for running on a linux box)
-rw-r--r-- | noncore/settings/aqpkg/global.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/global.h b/noncore/settings/aqpkg/global.h index be3ede4..4df2f15 100644 --- a/noncore/settings/aqpkg/global.h +++ b/noncore/settings/aqpkg/global.h @@ -1,73 +1,73 @@ /***************************************************************************
global.h - description
-------------------
begin : Mon Aug 26 2002
copyright : (C) 2002 by Andy Qua
email : andy.qua@blueyonder.co.uk
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef __GLOBAL_H
#define __GLOBAL_H
// Uncomment the below line to run on a Linux box rather than a Zaurus
// box this allows you to change where root is, and where to load config files from
-//#define X86
+#define X86
// Sets up location of ipkg.conf and root directory
#ifdef QWS
#ifndef X86
// Running QT/Embedded on an arm processor
#define IPKG_CONF "/etc/ipkg.conf"
#define ROOT "/"
#define IPKG_DIR "/usr/lib/ipkg/"
#else
// Running QT/Embedded on a X86 linux box
-#define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data"
#define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf"
#define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root"
+#define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/"
#endif
#else
// Running QT on a X86 linux box
#define IPKG_CONF "/home/andy/projects/aqpkg/aqpkg/data/ipkg.conf"
#define ROOT "/home/andy/projects/aqpkg/aqpkg/data/root"
-#define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data"
+#define IPKG_DIR "/home/andy/projects/aqpkg/aqpkg/data/"
#endif
// Uncomment the below line to turn on memory checking
//#define _DEBUG 1
#ifndef __MEMFILE_C
#ifdef _DEBUG
void * operator new(unsigned int size,const char *file, int line);
void operator delete(void *p);
#endif
#ifdef _DEBUG
#define DEBUG_NEW new(__FILE__, __LINE__)
//#define DEBUG_NEW new
#else
#define DEBUG_NEW new
#endif
#define new DEBUG_NEW
#endif
|