fix integrity check not being installed correctly #2
@ -65,7 +65,7 @@ case $1 in
|
||||
rm -v $PREFIX/bin/glacier || rm -v $PREFIX/glacier
|
||||
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
|
||||
$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
|
||||
printf "finished updating\n"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user