Update build.sh

This commit is contained in:
Raymond Li 2020-08-04 17:29:25 -04:00 committed by GitHub
parent eb6c9412e9
commit eefd457317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
#!/bin/bash
autoreconf -fiv
if
sed -i "/^auth include system-auth/c\#auth include system-auth" pam/i3lock
sed -i "/^#auth include login/c\auth include login" pam/i3lock
fi
BUILD_DIR=build/
rm -rf $BUILD_DIR
mkdir -vp $BUILD_DIR