summaryrefslogtreecommitdiff
path: root/rc/bin/rexport
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/rexport')
-rwxr-xr-xrc/bin/rexport3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/bin/rexport b/rc/bin/rexport
index a7364e58f..99030a363 100755
--- a/rc/bin/rexport
+++ b/rc/bin/rexport
@@ -49,7 +49,8 @@ cmd=$*
fn pvar {
while(! ~ $#* 0){
- ~ $#$1 0 || path=/dev/null builtin whatis $1
+ ~ $#$1 0 && echo $1'=()' ||
+ path=/dev/null builtin whatis $1
shift
}
}