]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
create .diff patches if branch point is detected (.0 symlink)
authorElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 12:51:58 +0000 (14:51 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 3 Jan 2013 12:51:58 +0000 (14:51 +0200)
get-source.sh

index 2a2c041276a6f725497f9b80954ea407c076b111..32c1b8162c7c74f96cadce3ddd055882756c3e7e 100755 (executable)
@@ -96,6 +96,15 @@ mv $LOGFILE $DIST_DIR
 
 rm -rf $TMP_DIR
 
+# create diff patches
+BASEVER=${VERSION%.*}.0
+if [ -e $DIST_DIR/$PACKAGE_NAME-$BASEVER.tar.$EXT ]; then
+       base=$(readlink -f $DIST_DIR/$PACKAGE_NAME-$BASEVER.tar.$EXT)
+       current=$DIST_DIR/$PACKAGE_NAME-$VERSION.tar.$EXT
+       sh -x $WORK_DIR/make-diff-patch.sh $base $current
+       mv $PACKAGE_NAME-$VERSION.patch.$EXT $DIST_DIR
+fi
+
 # try updating spec and build it as well
 if [ -x $WORK_DIR/update-source.sh ]; then
        build_package=1 \
This page took 0.302068 seconds and 4 git commands to generate.