1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

Cleanup scripts for error handling

This commit is contained in:
Darren Shepherd
2016-06-07 17:18:36 -07:00
parent 9f0074c398
commit 438a437459
9 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd $(dirname $0)/..

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd $(dirname $0)/..
rm -rf build dist bin images/*/build

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd $(dirname $0)

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# help: For development, creates iso, kernel, initrd gzip compressed
set -e
cd $(dirname $0)

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
mkdir -p bin dist build/initrd
if [ -e ./scripts/$1 ]; then

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd $(dirname $0)/../build/initrd

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd $(dirname $0)

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
source $(dirname $0)/version
export REPO_VERSION=$VERSION

View File

@@ -1,5 +1,3 @@
#!/bin/bash
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
DIRTY="-dirty"
fi