[prev in list] [next in list] [prev in thread] [next in thread]
List: gobolinux-commits
Subject: [gobolinux-commits] tools/Scripts/bin SandboxInstall
From: Jonas Karlsson <jonka750 () student ! liu ! se>
Date: 2007-08-25 19:02:48
Message-ID: E1IP0uG-0000sp-6T () cvs ! savannah ! gnu ! org
[Download RAW message or body]
CVSROOT: /sources/goboscripts
Module name: tools
Changes by: Jonas Karlsson <mohjive> 07/08/25 19:02:48
Modified files:
Scripts/bin : SandboxInstall
Log message:
dirname is too greedy. we don't want to strip away directories if those are listed \
as unmanaged "files".
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/SandboxInstall?cvsroot=goboscripts&r1=1.43&r2=1.44
Patches:
Index: SandboxInstall
===================================================================
RCS file: /sources/goboscripts/tools/Scripts/bin/SandboxInstall,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- SandboxInstall 19 Aug 2007 19:56:39 -0000 1.43
+++ SandboxInstall 25 Aug 2007 19:02:47 -0000 1.44
@@ -130,7 +130,7 @@
for unmanaged in "${unmanagedarray[@]}"
do
# If it's not a directory (it's possible that it's a non-existant directory, but \
that's ok), strip one level
- [ ! -d ${unmanaged} ] && unmanaged=$(dirname ${unmanaged})
+ [ ! -d ${unmanaged} ] && unmanaged=$(echo ${unmanaged} | sed 's,\(.*\)/[^/]*,\1,)
# Make sure the directories exist
Assert_Dir ${unmanaged}
Assert_Dir ${installPackageDir}/${version}/Resources/Unmanaged${unmanaged}
_______________________________________________
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