Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
images may have % in name
  • Loading branch information
timf committed Jul 6, 2010
1 parent 8a1bf18 commit 9bbd453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/libexec/workspace-control/mount-alter.sh
Expand Up @@ -206,7 +206,7 @@ echo "Checking input:"
echo " - IMAGE_DIR: $IMAGE_DIR"

arglen0=`strlen imagefile`
imagefile=`echo $imagefile | sed -e 's/[^/\.a-zA-Z0-9_-]//g'`
imagefile=`echo $imagefile | sed -e 's/[^/\.a-zA-Z0-9%_-]//g'`
arglen=`strlen imagefile`

if [ $arglen0 -ne $arglen ]; then
Expand Down

0 comments on commit 9bbd453

Please sign in to comment.