moved build directory, delete symlink

This commit is contained in:
shelldweller 2023-10-31 17:12:49 -05:00
parent 07a543747a
commit 6dde3b1cf8
1 changed files with 4 additions and 8 deletions

View File

@ -37,10 +37,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=newmoon
#VERSION=${VERSION:-32.4.0.1}
VERSION=${VERSION:-$(lynx -dump -width=256 https://www.palemoon.org/ | sed -n '/Top news/{n;n;p}' | cut -d " " -f 6)}
SRCNAM1=${SRCNAM1:-$PRGNAM-${VERSION}_Release}
#SRCNAM2=${SRCNAM2:-uxp-RB_20230320}
BUILD=${BUILD:-1}
TAG=${TAG:-_shldwlr}
PKGTYPE=${PKGTYPE:-tlz}
@ -61,9 +59,9 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
TMP=${TMP:-/tmp/SBo}
TMP=${TMP:-/tmp/newmoon}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
OUTPUT=${OUTPUT:-/tmp/newmoon}
OBJ=${OBJ:-obj-$PRGNAM}
GTK=${GTK:-gtk2}
@ -161,16 +159,14 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build New Moon
cd $TMP
rm -r Pale-Moon
rm -rf Pale-Moon
rm $SRCNAM1
git clone https://repo.palemoon.org/MoonchildProductions/Pale-Moon.git
# rm $SRCNAM1
ln -s Pale-Moon $SRCNAM1
cd $SRCNAM1
git pull
git submodule init && git submodule update
git checkout release && git submodule update
#pwd
#ls -l
#tar -xvzf $CWD/$SRCNAM1.tar.gz --transform s/pale-moon/${SRCNAM1}/
#cd $SRCNAM1