[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] tools/Scripts/bin SignProgram
From:       Jonas Karlsson <jonka750 () student ! liu ! se>
Date:       2007-06-27 6:36:10
Message-ID: E1I3R8M-0001dg-W7 () cvs ! savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/goboscripts
Module name:	tools
Changes by:	Jonas Karlsson <mohjive>	07/06/27 06:36:10

Modified files:
	Scripts/bin    : SignProgram 

Log message:
	Made the test to see if the argument is a package use the function \
Is_GoboLinux_Package, as just looking for a file would make SignProgram die if it was \
called from Compile and there existed a file with the exact same name as the package \
in the source directory.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/SignProgram?cvsroot=goboscripts&r1=1.14&r2=1.15


Patches:
Index: SignProgram
===================================================================
RCS file: /sources/goboscripts/tools/Scripts/bin/SignProgram,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- SignProgram	23 Feb 2007 16:56:34 -0000	1.14
+++ SignProgram	27 Jun 2007 06:36:10 -0000	1.15
@@ -34,7 +34,7 @@
 fi
 
 ########## Version ##########
-if [ -f "$(Arg 1)" ]
+if Is_GoboLinux_Package "$(Arg 1)"
 then
    if echo $(Arg 1) | grep -q tar.bz2
    then filepath=`readlink -f $(Arg 1)`
_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic