diff --git a/build_orig.sh b/build_orig.sh index 2116630..1710491 100644 --- a/build_orig.sh +++ b/build_orig.sh @@ -14,7 +14,7 @@ function cleanup { } # register the cleanup function to be called on the EXIT signal -#trap cleanup EXIT +trap cleanup EXIT # Download Files specified in files.diz while IFS=! read type app version outputfile url md5 @@ -60,7 +60,9 @@ popd VER=`cat $WORK_DIR/version.txt` echo "Importing $DIR/../$FILENAME as $VER into git" -#cleanup + +cleanup + gbp import-orig --pristine-tar -u $VER $DIR/../$FILENAME exit 0