aboutsummaryrefslogtreecommitdiff
path: root/grace/grace.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'grace/grace.SlackBuild')
-rwxr-xr-xgrace/grace.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/grace/grace.SlackBuild b/grace/grace.SlackBuild
index 582ed90e..2431aa6e 100755
--- a/grace/grace.SlackBuild
+++ b/grace/grace.SlackBuild
@@ -17,9 +17,9 @@ fi
# o seu md5sum
SRC_ORIG="grace-5.1.20.tar.gz"
MD5_ORIG="37bdb28b9e30b8e5061ed3f8e0ab9168"
-PACKAGE_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
-VERSION_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\2/'`
-EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\3/'`
+PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\1/'`
+VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\2/'`
+ EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\3/'`
# ------- Códigos de erro para o createpkg --------------
ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33