summaryrefslogtreecommitdiff
path: root/manualPorts/gcc/lastVersion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/gcc/lastVersion.sh')
-rwxr-xr-xmanualPorts/gcc/lastVersion.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/manualPorts/gcc/lastVersion.sh b/manualPorts/gcc/lastVersion.sh
new file mode 100755
index 0000000..454245c
--- /dev/null
+++ b/manualPorts/gcc/lastVersion.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+grep '^version' /usr/ports/core/gcc/Pkgfile \
+ | cut -d= -f2