diff options
author | jsorg71 <jay.sorg@gmail.com> | 2014-05-29 23:17:04 -0700 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2014-05-29 23:17:04 -0700 |
commit | eb478200bf9b6b367b59ec8da0ec1770426e4d06 (patch) | |
tree | 88e3224df2ef9f01149e3ec57c923f28a48d901f | |
parent | 22de6ef4118eb68d603741e3e398fa031658ab14 (diff) | |
parent | 0c6527f22680b61247b20776f334e3cf36446eba (diff) | |
download | xrdp-proprietary-eb478200bf9b6b367b59ec8da0ec1770426e4d06.tar.gz xrdp-proprietary-eb478200bf9b6b367b59ec8da0ec1770426e4d06.zip |
Merge pull request #139 from metalefty/devel
buildx.sh: fix clean option
-rwxr-xr-x | xorg/X11R7.6/buildx.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh index 74145e36..22dfe15f 100755 --- a/xorg/X11R7.6/buildx.sh +++ b/xorg/X11R7.6/buildx.sh @@ -59,10 +59,8 @@ remove_modules() while IFS=: read mod_file mod_dir mod_args do - if [ -d build_dir/$mod_dir ]; then - rm -rf build_dir/$mod_dir - fi - done < ../$data_file + (cd build_dir; [ -d $mod_dir ] && rm -rf $mod_dir) + done < $data_file } extract_it() |