summaryrefslogtreecommitdiff
path: root/lib/builder-utils.sh
diff options
context:
space:
mode:
authorMario Fetka <[email protected]>2013-03-08 13:15:35 (GMT)
committer Mario Fetka <[email protected]>2013-03-08 13:15:35 (GMT)
commitf2351a2f1daed6c85a06b7e163a74ddc582bcc35 (patch)
treed1e3e108a377c7245f873d773f233f9241f5a5d4 /lib/builder-utils.sh
parent79d3176b78f271e4901318c20ea455262ef74464 (diff)
Touch ini file if not exist
Diffstat (limited to 'lib/builder-utils.sh')
-rw-r--r--lib/builder-utils.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh
index 6c693b3..06b332e 100644
--- a/lib/builder-utils.sh
+++ b/lib/builder-utils.sh
@@ -313,6 +313,9 @@ write_ini_file() {
local ini_file=$1
local var_file=$2
+ # create file if not exist
+ touch $ini_file
+
# publish some other variables
for var in VENDOR PN VERSION RELEASE TYPE CREATOR_TAG CREATOR_NAME CREATOR_EMAIL ; do
$CMD_iniset $ini_file --COMMON ${var}="${!var}"

Powered by Domaintechnik.at | Hosting - Domain - Webspace