summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
Diffstat (limited to 'backport')
-rwxr-xr-xbackport12
1 files changed, 6 insertions, 6 deletions
diff --git a/backport b/backport
index cf8d17a..5415078 100755
--- a/backport
+++ b/backport
@@ -2,7 +2,7 @@
# Script to automate backporting for CRAN
# Creates a source package and binary packages for the following architecture
-ARCH=i386
+ARCH=amd64
export ARCH
# Iteration of the backport, for the case several backports of the same
@@ -81,7 +81,7 @@ mkdir -p $DIST
cp -r $pkg\_* $DIST
cp -r $pkg-* $DIST
-# Go to package building directory
+# Change to build directory
cd $DIST/$pkg-*
# Determine the version of the upstream Debian package
@@ -95,8 +95,8 @@ cranversion=$upstreamversion"~"$DIST"cran.$iteration"
# would make an update of the archive index inside the loop in backport_others
# necessary
-new_dsc=$rcrandir/$DIST-cran40/${pkg}_${cranversion}.dsc
-logfile=$rcrandir/$DIST-cran40/${pkg}_${cranversion}_${ARCH}.build
+new_dsc=$rcrandir/$DIST-cran46/${pkg}_${cranversion}.dsc
+logfile=$rcrandir/$DIST-cran46/${pkg}_${cranversion}_${ARCH}.build
if [ -e $new_dsc ]; then
@@ -113,7 +113,7 @@ else
# Check for a script doing modifications required for backporting
script=../\_reverts\_$pkg\.sh
- if [ -f $script ]; then source $script; fi
+ if [ -f $script ]; then source $script; echo backport.sh Applied $script; fi
if [ "$skip" = false ]
then
@@ -124,7 +124,7 @@ else
--aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache
fi
sudo -E pdebuild --debbuildopts '-sa' \
- --buildresult $rcrandir/$DIST-cran40/ \
+ --buildresult $rcrandir/$DIST-cran46/ \
--logfile $logfile \
-- --override-config \
--distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz \

Contact - Imprint