diff options
author | JP-Ellis | 2019-04-18 14:25:57 +1000 |
---|---|---|
committer | JP-Ellis | 2019-04-18 14:25:57 +1000 |
commit | 495943ea0424e7e14ba987bbc4c47aa620f55e62 (patch) | |
tree | 13b00e9837d42fa5c3df24e45263a7d033b75ba9 /PKGBUILD | |
parent | 1a5f949c89810814d212cf49e2754bf6f317f727 (diff) | |
download | aur-495943ea0424e7e14ba987bbc4c47aa620f55e62.tar.gz |
Adjust warnings
Signed-off-by: JP-Ellis <josh@jpellis.me>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -92,16 +92,13 @@ options=("!strip") PKGEXT='.pkg.tar' prepare() { - if df "${srcdir}" | grep -q tmpfs; then - warning "Building Mathematica takes more than 8GB of space." - warning "Building in a tmpfs (e.g. /tmp when mounted into RAM) may not work." - fi + warning "Building Mathematica takes more than 8GB of space." + warning "Building in a tmpfs (e.g. /tmp when mounted into RAM) may not work." if [ $(echo "${srcdir}" | wc -w) -ne 1 ]; then msg2 "ERROR: The Mathematica installer doesn't support directory names with spaces." - msg2 "Try building from a directory without spaces." msg2 "Current build directory: ${srcdir}" - false + exit 1 fi chmod +x ${srcdir}/Mathematica_${pkgver}_LINUX.sh |