summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMario Fetka <[email protected]>2013-03-07 20:38:36 (GMT)
committer Mario Fetka <[email protected]>2013-03-07 20:38:36 (GMT)
commit75adc590d0668263b28ea0c1bf3d83015ec16b46 (patch)
treefd5278f50e6dde55ce8cdcbf6727f1148f2e1c8a /bin
parenta0e29cb0ac6fece5484e20f5621b1c8e90446398 (diff)
add ini writer support
Diffstat (limited to 'bin')
-rwxr-xr-xbin/opsi-builder.sh54
1 files changed, 27 insertions, 27 deletions
diff --git a/bin/opsi-builder.sh b/bin/opsi-builder.sh
index 1f2752d..b2389f3 100755
--- a/bin/opsi-builder.sh
+++ b/bin/opsi-builder.sh
@@ -1,6 +1,6 @@
#!/bin/bash
#
-#
+#
# enabled debug
# set -x
@@ -9,31 +9,31 @@
# Controller
####################
builder_controller() {
- local result
-
- # read config
- call_entry_point result config; (( $result == "0" )) || builder_config
-
- # prepare
- call_entry_point result prepare ; (( $result == "0" )) || builder_prepare
-
- # download and process dist files
- call_entry_point result retrieve; (( $result == "0" )) || builder_retrieve
-
- # Create some special files
- call_entry_point result create; (( $result == "0" )) || builder_create
-
- # Start packaging
- call_entry_point result package; (( $result == "0" )) || builder_package
-
- # Upload to repos
- call_entry_point result publish; (( $result == "0" )) || builder_publish
-
- # git commit
- call_entry_point result commit; (( $result == "0" )) || builder_commit
-
- # cleanup
- call_entry_point result cleanup; (( $result == "0" )) || builder_cleanup
+ local result
+
+ # read config
+ call_entry_point result config; (( $result == "0" )) || builder_config
+
+ # prepare
+ call_entry_point result prepare ; (( $result == "0" )) || builder_prepare
+
+ # download and process dist files
+ call_entry_point result retrieve; (( $result == "0" )) || builder_retrieve
+
+ # Create some special files
+ call_entry_point result create; (( $result == "0" )) || builder_create
+
+ # Start packaging
+ call_entry_point result package; (( $result == "0" )) || builder_package
+
+ # Upload to repos
+ call_entry_point result publish; (( $result == "0" )) || builder_publish
+
+ # git commit
+ call_entry_point result commit; (( $result == "0" )) || builder_commit
+
+ # cleanup
+ call_entry_point result cleanup; (( $result == "0" )) || builder_cleanup
}
####################
@@ -58,7 +58,7 @@ builder_check_error "no opsi product directory specified: $PRODUCT_DIR"
# source additional, product dependent callback (cb) targets
if [ -f "$PRODUCT_DIR/builder-targets-cb.sh" ] ; then
- . "$PRODUCT_DIR/builder-targets-cb.sh"
+ . "$PRODUCT_DIR/builder-targets-cb.sh"
fi
# call main

Powered by Domaintechnik.at | Hosting - Domain - Webspace