Fix 'shopt: +s: invalid shell option name' error.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 23 Sep 2011 03:23:01 +0000 (05:23 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 23 Sep 2011 03:23:01 +0000 (05:23 +0200)
bin/misc-functions.sh

index 7d858a28a75288edd16a2ca8f4887e15844d4ce2..a54ce2b793e50fc3dc9f63d0037d5a1960b97a4d 100755 (executable)
@@ -996,7 +996,7 @@ install_hooks() {
                        ret=$(( $ret | $? ))
                fi
        done
-       shopt +s nullglob
+       shopt -u nullglob
        return $ret
 }