summaryrefslogtreecommitdiff
path: root/helper.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-26 18:02:04 +0000
committerJay Freeman <saurik@saurik.com>2008-04-26 18:02:04 +0000
commitfd6ac0fca12f2c1f361d60871db6d48dc5e79853 (patch)
tree11caf762553e1a12e6e30ab1f5c4efba359c03da /helper.sh
parent1b3c89dfa52172b802d9b33894fc345b1de9635a (diff)
Abstracted prefix somewhat.
git-svn-id: http://svn.telesphoreo.org/trunk@249 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'helper.sh')
-rwxr-xr-xhelper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.sh b/helper.sh
index ef67c3aea..69dc93089 100755
--- a/helper.sh
+++ b/helper.sh
@@ -3,7 +3,7 @@
source "${PKG_BASE}/architect.sh"
export PKG_ROOT=$("${PKG_TARG}-gcc" -dumpspecs | grep '%{isysroot' | sed -e 's/.*%{isysroot\*:\([^}]*\)}.*/\1/; s/;:/\n/g' | sed -e 's/^-syslibroot //' | tail -n 1)
-export PKG_PFIX=$("${PKG_TARG}-gcc" -v 2>&1 | grep -- --prefix | sed -e 's/.*--prefix=\([^ ]*\).*/\1/')
+export PKG_CCPF=$("${PKG_TARG}-gcc" -v 2>&1 | grep -- --prefix | sed -e 's/.*--prefix=\([^ ]*\).*/\1/')
source "${PKG_BASE}/folders.sh"