Skip to content

Commit

Permalink
Codium: Update to 1.96.4.25017
Browse files Browse the repository at this point in the history
Add temp dir switch for MXQI
  • Loading branch information
david committed Jan 20, 2025
1 parent 25f7758 commit 4b779cb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions codium-1.96.4.25017-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ VERSION=1.96.4.25017
BUILD=0

PREFIX=/pkg/$PKG-$VERSION-$BUILD
if [ -n "$TESTING" ]; then PREFIX=/scratch/local2/$PKG-$VERSION-$BUILD ; fi
TEMPFILES=/scratch/local2

if $(env | grep MXQ_SERVERID >/dev/null); then TEMPFILES=$TMPDIR ; fi

if [ -n "$TESTING" ]; then PREFIX=${TEMPFILES}/${PKG-$VERSION-$BUILD} ; fi

set -xe
umask 022

BUILD_TMPDIR=/scratch/local2/$PKG-$VERSION-$BUILD.build.tmp
BUILD_TMPDIR=${TEMPFILES}/$PKG-$VERSION-$BUILD.build.tmp
test -d $BUILD_TMPDIR && ( chmod -R u+rwx $BUILD_TMPDIR || true ; rm -rf $BUILD_TMPDIR )
mkdir -p $BUILD_TMPDIR/home
mkdir -p ${BUILD_TMPDIR}/home
export TMPDIR=$BUILD_TMPDIR
export HOME=$BUILD_TMPDIR/home

Expand Down Expand Up @@ -62,7 +66,7 @@ cd $BUILDDIR

test -d vscodium || git clone https://github.com/VSCodium/vscodium.git
cd vscodium && git checkout $VERSION
( # disable auteUpdate and release Notes
( # disable autoUpdate and release Notes
cd ${PREFIX}/build/vscodium
sed -ne '/^#Epatch:disableUpdate/ s/^#Epatch:\S* // p' $ME | patch -p1 --verbose
)
Expand Down

0 comments on commit 4b779cb

Please sign in to comment.