SOURCES: rpm-build.sh - cleanup

glen glen at pld-linux.org
Fri Mar 2 00:03:40 CET 2007


Author: glen                         Date: Thu Mar  1 23:03:40 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cleanup

---- Files affected:
SOURCES:
   rpm-build.sh (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SOURCES/rpm-build.sh
diff -u SOURCES/rpm-build.sh:1.25 SOURCES/rpm-build.sh:1.26
--- SOURCES/rpm-build.sh:1.25	Fri Mar  2 00:03:15 2007
+++ SOURCES/rpm-build.sh	Fri Mar  2 00:03:35 2007
@@ -147,7 +147,7 @@
 # the diff can be applied with patch -p1
 d() {
 	local file="$1"
-	local dir=${file%/*}
+	local dir
 	if [[ "$file" = /* ]]; then
 		# full path -- no idea where to strip
 		dir=.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-build.sh?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list