diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/itzks-build-package | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/itzks-build-package b/bin/itzks-build-package index e010d6a..ba1d584 100755 --- a/bin/itzks-build-package +++ b/bin/itzks-build-package @@ -30,6 +30,8 @@ set_vars() { USE_SUDO="yes" PDEBUILD="pdebuild --pbuilder qemubuilder" TEMP_BASE="$HOME/tmp/" + mkdir "$TEMP_BASE" + chmod 2770 "$TEMP_BASE" # first argv is the name of the Git project PROJECT=$1 @@ -141,6 +143,7 @@ build_packages() { for l_CODENAME in $CODENAMES; do TEMP_DIR="$(mktemp -d --tmpdir=$TEMP_BASE)" mkdir -p $TEMP_DIR/$PROJECT + chmod 2770 $TEMP_DIR -Rf git clone --local $PROJECT_DIR $TEMP_DIR/$PROJECT/ cd $TEMP_DIR/$PROJECT git checkout $CHECKOUT || git checkout master |