Browse Source

sde-list-files: fixed to be compatible with dash

karasz/new-early
Alejandro Mery 15 years ago
parent
commit
80a6bd2539
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/sde-list-files

+ 2
- 2
bin/sde-list-files

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: bin/sde-list-files
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -87,7 +87,7 @@ for x; do
elif [ -e "$PWD/$x" ]; then
# $PWD relative
y="$PWD/$x"
elif [ "${x:0:1}" = "/" -a -e "$x" ]; then
elif [ "$(echo "$x" | cut -c1)" = "/" -a -e "$x" ]; then
# absolute
y="$x"
elif [ -e "$SDEROOT/package"/*/"$x" ]; then

Loading…
Cancel
Save