aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/boinc-astropulse/Makefile2
-rw-r--r--astro/boinc-astropulse/files/pkg-deinstall.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/astro/boinc-astropulse/Makefile b/astro/boinc-astropulse/Makefile
index 4f580c9da685..6c0b3a197df0 100644
--- a/astro/boinc-astropulse/Makefile
+++ b/astro/boinc-astropulse/Makefile
@@ -6,7 +6,7 @@
PORTNAME= boinc-astropulse
PORTVERSION= 6.01
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= astro
MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/
DISTNAME= astropulse-svn-1280
diff --git a/astro/boinc-astropulse/files/pkg-deinstall.in b/astro/boinc-astropulse/files/pkg-deinstall.in
index b6ee2e66ab23..f72ebd09a28f 100644
--- a/astro/boinc-astropulse/files/pkg-deinstall.in
+++ b/astro/boinc-astropulse/files/pkg-deinstall.in
@@ -14,8 +14,8 @@ if [ $? -ne 0 ]; then
echo $F is corrupt
exit 1
fi
-l1=$((l-1))
-l2=$((l+13))
+l1=$(($l-1))
+l2=$(($l+13))
sed -i.bak "${l1},${l2}d" $F # sed wants the braces
rm $F.bak