lol

Handle sourceRoots with leading dashes

+1 -1
+1 -1
pkgs/stdenv/generic/setup.sh
··· 866 # necessary when sources have been copied from other store 867 # locations. 868 if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then 869 - chmod -R u+w "$sourceRoot" 870 fi 871 872 runHook postUnpack
··· 866 # necessary when sources have been copied from other store 867 # locations. 868 if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then 869 + chmod -R u+w -- "$sourceRoot" 870 fi 871 872 runHook postUnpack