More debug code

This commit is contained in:
Rick Falkvinge
2017-12-05 19:58:29 +01:00
parent e4e86bc14d
commit 728855627d
2 changed files with 8 additions and 6 deletions
@@ -90,7 +90,7 @@ cd $DROPFOLDER/payload
if [ "$1" == "extscripts" ]; then
echo "Copying from $SOURCEDIR to $DEPLOYDIR/$TARGETDIR."
read -n1 -r -p "About to copy files, press any key..."
# read -n1 -r -p "About to copy files, press any key..."
fi
@@ -121,7 +121,7 @@ if [ "$COPYFILES" == "yes" ]; then
fi
if [ "$1" == "extscripts" ]; then
read -n1 -r -p "About to copy files, press any key..." key
# read -n1 -r -p "About to copy files, press any key..." key
fi
echo "Copying template files into repo..."
@@ -180,14 +180,14 @@ cd ../..
if [ "$1" == "extscripts" ]; then
read -n1 -r -p "About to package the copied files, press any key..." key
# read -n1 -r -p "About to package the copied files, press any key..." key
fi
scripts/repackage-build-package-distro $PACKAGENAME $DROPFOLDER $DISTROS $PACKAGE $BUILDID
read -n1 -r -p "Press any key to continue..."
#read -n1 -r -p "Press any key to continue..."
#echo "Cleaning up..."
@@ -23,7 +23,7 @@ unset IFS
for DISTRO in "${distros[@]}"
do
echo "Packaging for $DISTRO..."
echo "Packaging build $BUILDID for $DISTRO..."
if [ -e dependencies/$PACKAGE-$DISTRO ]; then
DEPENDENCIES=$(cat dependencies/$PACKAGE-$DISTRO | tr -d ' \r')
@@ -41,7 +41,9 @@ do
# read -p "Press [Enter] key to make create checksums..."
echo "Setting build number $BUILDID-$DISTRO..."
sed -i "s/--BuildNumber--/$BUILDID-$DISTRO/g" $DROPFOLDER/payload/DEBIAN/control
sed -i "s/--BuildNumber--/$BUILDID/g" $DROPFOLDER/payload/DEBIAN/control
cat $DROPFOLDER/payload/DEBIAN/control
# Calculating new checksums
echo "Creating MD5 checksum file ($DISTRO)..."