Skip to content

Commit

Permalink
build: make buildtest.sh BSD compatible
Browse files Browse the repository at this point in the history
Signed-off-by: Seyed Pouria Mousavizadeh Tehrani <[email protected]>
  • Loading branch information
spmzt committed Jan 12, 2024
1 parent 86cbd58 commit 592c7ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ trap errfunc ERR

COMMITREF="$1"
COMMITISH="`git rev-list --max-count=1 ${COMMITREF:-HEAD}`"
TEMP="`mktemp -t -d frrbuild.XXXXXX`"
TEMP="`mktemp -d -t frrbuild.XXXXXX`"
BASE="`pwd`"
CONFIGS="$2"
MAKE="${MAKE:-make}"

echo using temporary directory: $TEMP
echo git commit used:
Expand All @@ -59,7 +60,7 @@ echo -e "\n\n\n\n\033[33;1mmaking dist tarball\033[m"
mkdir build_dist
cd build_dist
../source/configure
make distdir=sdist dist-gzip
${MAKE} distdir=sdist dist-gzip
cd ..
tar zxvf build_dist/sdist.tar.gz

Expand Down

0 comments on commit 592c7ac

Please sign in to comment.