Fix a minor issue with the packaging script

This commit is contained in:
Bradlee Speice 2012-08-03 14:51:32 -04:00
parent 09330ea522
commit e909e701b4

View File

@ -42,9 +42,10 @@ TARBALL="${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz"
cp $TARBALL $BUILD_DIR cp $TARBALL $BUILD_DIR
cp $TARBALL $BUILD_DIR/`echo $TARBALL | sed 's/-/_/g;s/tar/orig.tar/'` cp $TARBALL $BUILD_DIR/`echo $TARBALL | sed 's/-/_/g;s/tar/orig.tar/'`
tar xf $TARBALL -C $BUILD_DIR tar xf $TARBALL -C $BUILD_DIR
cp debian $PACKAGE_NAME-$PACKAGE_VERSION -r cp debian $BUILD_DIR/$PACKAGE_NAME-$PACKAGE_VERSION -r
cd $BUILD_DIR/$PACKAGE_NAME-$PACKAGE_VERSION cd $BUILD_DIR/$PACKAGE_NAME-$PACKAGE_VERSION
echo "Beginning build process..."
if [ -z "$1" ]; then if [ -z "$1" ]; then
debuild debuild
else else