Merge pull request 'fix integrity check not being installed correctly' (#2) from unstable into main
Reviewed-on: EverestLinux/glacier#2
This commit is contained in:
commit
13cb96df04
@ -65,7 +65,7 @@ case $1 in
|
|||||||
rm -v $PREFIX/bin/glacier || rm -v $PREFIX/glacier
|
rm -v $PREFIX/bin/glacier || rm -v $PREFIX/glacier
|
||||||
rm -v $PREFIX/bin/glacier-integrity-check || rm -v $PREFIX/glacier-integrity-check
|
rm -v $PREFIX/bin/glacier-integrity-check || rm -v $PREFIX/glacier-integrity-check
|
||||||
mv -v $SRC_DIR/glacier $PREFIX/bin || mv -v $SRC_DIR/glacier $PREFIX
|
mv -v $SRC_DIR/glacier $PREFIX/bin || mv -v $SRC_DIR/glacier $PREFIX
|
||||||
$CC $SRC_DIR/int-check/main.c -o glacier-integrity-check
|
$CC $SRC_DIR/int-check/main.c -O2 -fstack-protector-strong -o $SRC_DIR/int-check/glacier-integrity-check
|
||||||
mv -v $SRC_DIR/int-check/glacier-integrity-check $PREFIX/bin || mv -v $SRC_DIR/int-check/glacier-integrity-check $PREFIX
|
mv -v $SRC_DIR/int-check/glacier-integrity-check $PREFIX/bin || mv -v $SRC_DIR/int-check/glacier-integrity-check $PREFIX
|
||||||
printf "finished updating\n"
|
printf "finished updating\n"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user