fix autobuild change detection for two OS trees
authorIvan Kohler <ivan@freeside.biz>
Mon, 27 Nov 2017 21:22:32 +0000 (13:22 -0800)
committerIvan Kohler <ivan@freeside.biz>
Mon, 27 Nov 2017 21:22:32 +0000 (13:22 -0800)
bin/freeside-debian-releases.sh

index 13dbcce..4e42c23 100755 (executable)
@@ -11,7 +11,7 @@ if [[ $# -ne 3 ]]
 fi
 
 DATE=`date +"%Y%m%d%H"`
-DIR="/home/autobuild/packages/staging/freeside$FS_VERSION/$FS_REPO"
+DIR="/home/autobuild/packages/staging/freeside$FS_VERSION/$DISTRO/$FS_REPO"
 TARGET="/home/autobuild/public_html/freeside$FS_VERSION-$DISTRO-$FS_REPO"
 
 if [ ! -d "$DIR" -a -d $TARGET ]; then
@@ -22,9 +22,6 @@ fi
 
 GIT_VERSION=`grep '^$VERSION' $DIR/freeside/FS/FS.pm | cut -d\' -f2`
 
-# Clean configuration file
-rm -fr $DIR/freeside/debian/freeside-ng-selfservice.conffiles
-
 # Pull any changes
 cd $DIR/freeside
 git checkout -- debian/changelog