diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-19 17:10:48 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-19 17:10:48 +0000 |
commit | c0e0a18f2c071b15c16eeedda39fd440b95cbd36 (patch) | |
tree | 8fb5f0ab278bf89a4f7f867bd78a9b67f472baa2 | |
parent | 6aeb4765eca487778c2fd25b0243f39db6b0ef47 (diff) | |
download | simplepkg-c0e0a18f2c071b15c16eeedda39fd440b95cbd36.tar.gz simplepkg-c0e0a18f2c071b15c16eeedda39fd440b95cbd36.tar.bz2 |
creating TMP at config file evaluation
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@762 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r-- | trunk/lib/common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index e2d99ea..b695337 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -267,6 +267,10 @@ function eval_config { mkdir -p $PATCHES_DIR fi + if [ ! -d "$TMP" ]; then + mkdir -p $TMP + fi + if [ -z "$ARCH" ]; then ARCH="$DEFAULT_ARCH" fi |