aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/src4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/src b/bin/src
index 450c3b47..03987627 100755
--- a/bin/src
+++ b/bin/src
@@ -10,9 +10,9 @@ fn dbsrc{
}
fn go{
- type=`{file $1}
+ type=`{9 file $1}
switch($type){
- case *'script text'*
+ case *script*
plumbit $1 '(script)'
case *executable* *'plan 9 boot image'* *'shared object'*
plumbit `{dbsrc $1} '(executable)'