Codebase list conky-manager / 9deb4f6c-cd40-4592-8343-421d316046f4/main build-deb.sh
9deb4f6c-cd40-4592-8343-421d316046f4/main

Tree @9deb4f6c-cd40-4592-8343-421d316046f4/main (Download .tar.gz)

build-deb.sh @9deb4f6c-cd40-4592-8343-421d316046f4/mainraw · history · blame

#!/bin/bash

backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"

rm -rf ../builds

bzr builddeb --native --build-dir ../builds/temp --result-dir ../builds

#check for errors
if [ $? -ne 0 ]; then
	cd "$backup"
	echo "Failed"
	exit 1
fi

ls -l ../builds

cd "$backup"